该组合用了以下两个指标:
1:牛市成本 ,技术指标主图, 源码如下:
N:=5;{牛绳} {1条均线红色持股,3条均线绿色空仓. }
CG:MA((LOW HIGH CLOSE*2)/4,N);
FL:=HHV(CG,3),COLORGREEN,POINTDOT;
FS:=IF(CG
FL1:=HHV(CG,5),COLORGREEN,POINTDOT;
FS1:=IF(CG
FL2:=HHV(CG,7),COLORGREEN,POINTDOT;
FS2:=IF(CG
FL3:HHV(CG,2),COLORMAGENTA,LINETHICK2;
牛绳:IF(CG
IF(牛绳=FL3,牛绳,DRAWNULL),COLORRED,LINETHICK2;
ZLZC1:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.618)),POINTDOT,LINETHICK2;
ZLZC2:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.5)),POINTDOT,LINETHICK2;
ZLZC3:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.382));
主力平均成本:COST(50)LINETHICK2,POINTDOT;
牛市启动:EMA(COST(72),21),LINETHICK2,POINTDOT;
牛市成本:EMA(COST(34),3),LINETHICK2,POINTDOT;
DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.36,0,0,GNBLOCK)COLORWHITE;
DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;
===========================================================================
2:逃顶 ,技术指标副图 ,源码如下:
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
阶段卖出: 3.2,COLORC6C600;
3.5,COLOR0088FF;
清仓卖出: 3.5,COLORFF75FF;
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00;
底部:0.2,COLOR70DB93;
关注:0.5,COLORYELLOW;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线 0.02 ,1);
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线 0.02,2);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线 0.02 ,1);
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线 0.02,2);
强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLORA8A8A8;