Main drawing of line index

2022-05-09 0 By

Long line (SUM ((((2) * (CLOSE – CLOSE * 0.2) + (OPEN – OPEN * 0.2) + (HIGH – HIGH * 0.2) + (0.2) LOW – LOW *)/(5)) * (VOL), 8))/(SUM (VOL. 8)), COLOR0099FF;Stickline (LLV(long,8),COLORGREEN;C – C * 0.2, COLORWHITE;VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2 = CROSS (VAR1, 0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4: = CROSS (VAR3, 0.9);REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;STICKLINE (CLOSE, REF (HIGH, BARSLAST (VAR2)) and REF (HIGH, BARSLAST (VAR2)), 5, 0), COLOREA91B5;REF(LOW,BARSLAST(VAR4)), BARSLAST(VAR4), 1, 0);