 
等级: 超级版主
- 注册:
- 2021-5-18
- 曾用名:
|
MID : MA(CLOSE,M);
UPPER: MID + N*STD(CLOSE,M);
LOWER: MID - N*STD(CLOSE,M);
BOLL:MA(CLOSE,M);
UB:BOLL+2*STD(CLOSE,M);
LB:BOLL-2*STD(CLOSE,M);
MA(CLOSE,M),COLORGREEN;
BOLL+2*STD(CLOSE,M),COLORGREEN;
BOLL-2*STD(CLOSE,M),COLORGREEN;
加仓:IF(BOLL>REF(BOLL,1),BOLL,DRAWNULL),COLORRED;
持有:IF(UB>REF(UB,1) AND C>BOLL,UB,DRAWNULL),COLORRED;
大:=EMA(CLOSE,94),COLORYELLOW;
小:=EMA(CLOSE,5),COLORYELLOW;
if cross(小,大) then DRAWICON(1 ,high ,0 ,1 ,0);
if cross(大,小) then DRAWICON(1 ,high ,0 ,2 ,0);
if 大>小 then
begin
POLYLINE( 1, 大,colorblue );
POLYLINE( 1, 小,colorblue );
END
if 大<小 then
begin
POLYLINE( 1, 大,COLORYELLOW );
POLYLINE( 1, 小,COLORYELLOW );
END |
|