MA1:MA(C,5); MA2:MA(C,10); MA3:MA(C,30); MA4:MA(C,60); FO:=OPEN; FH:=HIGH; FL:=LOW; FC:=CLOSE; STICKLINE(FC=FO,FH,FL,0.9,1),colorred; STICKLINE(FC=FO,FO,FC,7,0),colorred; STICKLINE(FC>FO,FO,FC,7,0),colorred; STICKLINE(FC<FO,FO,FC,7,0),colorgreen; STICKLINE(FC>FO,FC,FH,0.9,1),colorred; STICKLINE(FC>FO,FO,FL,0.9,1),colorred; STICKLINE(FO>FC,FC,FL,0.9,1),colorgreen; STICKLINE(FC<FO,FC,FH,0.9,1),colorgreen; A1:=REF(C,1)>REF(FO,1) AND FC>FO AND FC<=REF(FC,1); A2:=REF(C,1)<REF(FO,1) AND FC>FO AND FC<=REF(FC,1); STICKLINE(A1 OR A2,FO,FC,7,0),COLORYELLOW; STICKLINE(A1 OR A2,FH,FL,1,0),COLORYELLOW; B1:=REF(FC,1)>REF(FO,1) AND FC<FO AND FC>=REF(FC,1); B2:=REF(FC,1)<REF(FO,1) AND FC<FO AND FC>=REF(FC,1); STICKLINE(B1 OR B2,FO,FC,7,0),COLORFF00FF; STICKLINE(B1 OR B2,FH,FL,1,0),COLORFF00FF; |
|