SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100); STICKLINE(((CLOSE > 0) AND CURRBARSCOUNT=1),20,100,36,1),COLORFFFFFF;
STICKLINE(((SAT <= 5) AND CURRBARSCOUNT=1),21,(0 + SAT),35,0),COLORFFFFFF;
STICKLINE((((SAT > 5) AND (SAT <= 20)) AND CURRBARSCOUNT=1),21,(0 + SAT),35,0),COLORCCFF88;
STICKLINE((((SAT > 20) AND (SAT <= 40)) AND CURRBARSCOUNT=1),21,(0 + SAT),35,0),COLORFF00FF;
STICKLINE(((SAT > 40) AND CURRBARSCOUNT=1),20,(0+SAT),35,0),colorred;
LNBHD:SAT,LINETHICK2,coloryellow;
|
