一品大三浪+界文KD-精品通达信指标公式源码分享
{一品大三浪}
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
多头:=COUNT(MA(CLOSE,20)>MA(CLOSE,10),10)=10;
GX:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,20),MA(CLOSE,10)));
DX:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,20),MA(CLOSE,10)));
粘合:=ABS(GX/DX-1)*100<=15;
MACD:=2*(DIF-DEA);
庄股:=COUNT(MACD<0,10)=10;
目标:=IF(多头 AND 粘合 AND 庄股,5,0);
STICKLINE(CROSS(0.1,目标) AND CROSS(MACD,0),10,40,3,0),COLORWHITE;
{界文KD}
STICKLINE(C>0,40,60,4,0),COLOR808080;
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:=SMA(RSV,3,1);
短D:=SMA(短K,3,1);
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中K:=SMA(RSV1,5,1);
中D:=SMA(中K,10,1);
DRAWBAND(中D,RGB(0,104,154),中K,RGB(255,0,0));
STICKLINE(短K>短D,短K,短D,1,1),COLORYELLOW;
STICKLINE(短K<=短D,短K,短D,1,1),COLORCCDD33;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!