|
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,5)/VAR1/100;
VAR4:=SUM(AMOUNT,13)/VAR1/100;
VAR5:=SUM(AMOUNT,34)/VAR1/100;
CYC5MA(VAR2,VOL/VAR3);
CYC13MA(VAR2,VOL/VAR4);
CYC34MA(VAR2,VOL/VAR5);
CYC∞MA(VAR2,VOL/CAPITAL);
一剑封喉:=CROSS(CLOSE,MA(CLOSE,13)) AND CROSS(CLOSE,MA(CLOSE,34)) AND CROSS(CLOSE,MA(CLOSE,55));
A1:=(CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100;
A2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
A:=3*SMA(A1,5,1)-2*SMA(SMA(A2,5,1),3,1);
YNGS:一剑封喉 AND A<30,LINETHICK0;
DRAWICON(一剑封喉 AND A<30,LOW*0.99,1);
DRAWTEXT(一剑封喉 AND A<30,LOW*0.98,'一剑封喉'),colorFF; |
|