0,DOTLINE;
VA:=IF(C>REF(C,1),V,-V);
OB:=SUM(IF(C=REF(C,1),0,VA),0);
VRA:=(EMA(C,9)-EMA((REF(C,1)+O)/2,9));
AV:VRA*EMA(OB,18)/100,COLORSTICK;
AM9:EMA(AV,9);
AM18:EMA(AV,18);
AM36:EMA(AV,36);
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),AV,'逃'),COLORYELLOW;
DV:=EMA(V,18)-EMA(V,36);
DC:=EMA(C,18)-EMA(C,36);
VC:=DV>REF(DV,1) AND DC<REF(DC,1);
B3:=REF(VC,2)=1 AND REF(VC,1)=1 AND VC;
B4:=REF(VC,3)=1 AND REF(VC,2)=1 AND REF(VC,1)=1 AND VC;
DRAWTEXT(B3 AND B4,20,'进');
波段操盘辅助指标
指标金叉、死叉和红绿柱可作为进出场参考。
指标提供进场和逃顶的文字提示,特别是逃顶提示尤为准确、到位。
{www.qill.cn波段操盘辅助}
0,DOTLINE;
VA:=IF(C>REF(C,1),V,-V);
OB:=SUM(IF(C=REF(C,1),0,VA),0);
VRA:=(EMA(C,9)-EMA((REF(C,1)+O)/2,9));
AV:VRA*EMA(OB,18)/100,COLORSTICK;
AM9:EMA(AV,9);
AM18:EMA(AV,18);
AM36:EMA(AV,36);
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),AV,'逃'),COLORYELLOW;
DV:=EMA(V,18)-EMA(V,36);
DC:=EMA(C,18)-EMA(C,36);
VC:=DV>REF(DV,1) AND DC<REF(DC,1);
B3:=REF(VC,2)=1 AND REF(VC,1)=1 AND VC;
B4:=REF(VC,3)=1 AND REF(VC,2)=1 AND REF(VC,1)=1 AND VC;
DRAWTEXT(B3 AND B4,20,'进');