通达信冠军1号主图源码 贴图
DEA66:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),6) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),12)),9);
DEA33:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),3) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),9)),9);
DEA333:=REF(DEA33,1),COLORWHITE,LINETHICK0;
DEA1212:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),12) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),24)),9),COLORRED,LINETHICK1;
DEA144:=EMA((EMA(CLOSE,144) - EMA(CLOSE,288)),9);
DEA72:=EMA((EMA(CLOSE,72) - EMA(CLOSE,144)),9);
DEA36:=EMA((EMA(CLOSE,36) - EMA(CLOSE,72)),9);
DEA18:=EMA((EMA(CLOSE,18) - EMA(CLOSE,36)),9);
DEA12:=EMA((EMA(CLOSE,12) - EMA(CLOSE,24)),9);
DEA6:=EMA((EMA(CLOSE,6) - EMA(CLOSE,12)),9);
DEA3:=EMA((EMA(CLOSE,3) - EMA(CLOSE,6)),9);
DEA3B:=REF(DEA3,1);
股池:=资金定位=1 AND 轨道振幅>8 AND 买点定位=1 AND (H-C)<(C-L) AND 多头定位=1 AND (O+L)/2<(高+低)/2 ;
牛股启动1:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA102>0 AND DEA51>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动2:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36<DEA72 AND DEA36>0 AND DEA102>0 AND DEA18>0 AND DEA51>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动3:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36>DEA72 AND DEA18>DEA36 AND DEA18>0 AND DEA36<0 AND DEA102>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动4:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36>DEA72 AND DEA18>DEA36 AND DEA18>0 AND DEA36>0 AND DEA102>0 AND DEA51>0 AND DEA1818>0 AND DEA102>REF(DEA102,1) AND DEA51>REF(DEA51,1) AND 股池=1,COLORRED,LINETHICK3;
牛股启动5:=DEA72>0 AND DEA36>0 AND DEA36<DEA72 AND DEA6>DEA12 AND DEA12>DEA18 AND DEA1818>DEA51 AND DEA1818>0 AND DEA102>REF(DEA102,1) AND DEA51>REF(DEA51,1) AND 股池=1,COLORRED,LINETHICK3;
牛股启动:=牛股启动1=1 OR 牛股启动2=1 OR 牛股启动3=1 OR 牛股启动4=1 OR 牛股启动5=1,COLORRED,LINETHICK0;
牛气冲天1:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA18>0 AND DEA18>DEA72 AND DEA18<DEA36 AND DEA102>0 AND DEA51>0 AND 股池=1,COLORRED,LINETHICK8;
牛气冲天2:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA18>0 AND DEA18<DEA72 AND DEA102>0 AND DEA102>0 AND DEA66>DEA1212 AND DEA1212>DEA1818 AND 股池=1,COLORRED,LINETHICK8;
牛气冲天:=牛气冲天1=1 OR 牛气冲天2=1,COLORYELLOW,LINETHICK0;
牛股翻身:=DEA72>DEA144 AND DEA36>0 AND DEA72>0 AND DEA6>DEA12 AND DEA1212>DEA1818 AND 股池=1 AND 多头定位=1,COLORWHITE,LINETHICK0;
黑牛猎杀1:=DEA72>REF(DEA72,1) AND DEA36>0 AND DEA18>0 AND DEA72<0 AND DEA102>0 AND DEA51>0 AND DEA66>DEA1212 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀2:=DEA72>REF(DEA72,1) AND DEA36>0 AND DEA18>0 AND DEA72>0 AND DEA102>0 AND DEA51>0 AND DEA18<DEA36 AND DEA36>DEA72 AND DEA72>DEA144 AND DEA144<0 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀3:=DEA36>0 AND DEA18>0 AND DEA72>0 AND DEA102>0 AND DEA18<DEA36 AND DEA72>DEA144 AND DEA66>DEA1212 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀:=黑牛猎杀1=1 OR 黑牛猎杀2=1 OR 黑牛猎杀3=1,COLORGREEN,LINETHICK0;
牛股池:=牛股启动=1 OR 黑牛猎杀=1 OR 牛股翻身=1 OR 牛气冲天=1;
多买牛股:=牛股池=1 AND 大盘买点=1 AND 大盘EMA>大盘YM1,COLORRED,LINETHICK0;
多头牛股:=牛股池=1 AND 大盘买点=0 AND 大盘EMA>大盘YM1,COLORYELLOW,LINETHICK0;
空买牛股:=牛股池=1 AND 大盘买点=1 AND 大盘EMA<大盘YM1,COLORMAGENTA,LINETHICK0;
空头牛股:=牛股池=1 AND 大盘买点=0 AND 大盘EMA<大盘YM1 AND 大盘卖点=0,COLORGREEN,LINETHICK0;
STICKLINE(CURRBARSCOUNT=1,波段高,波段高,100,5),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1,波段低,波段低,100,5),COLORRED;
DRAWTEXT(ISLASTBAR,波段高,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,波段低,'底'),COLORRED;
STICKLINE(牛股池=1,止盈价,止盈价,20,0),LINETHICK1,COLORRED;
STICKLINE(牛股池=1,止损价,止损价,20,0),LINETHICK1,COLORGREEN;
STICKLINE(牛股池=1 AND C<(高+低)/2,LOW,HIGH,0.0,0),COLORYELLOW;
STICKLINE(牛股池=1 AND C<(高+低)/2,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(牛股池=1 AND C>(高+低)/2,LOW,(高+低)/2,0.0,0),COLORYELLOW;
STICKLINE(牛股池=1 AND C>(高+低)/2,(高+低)/2,OPEN,3,0),COLORYELLOW;
DRAWBMP(牛股池=1,止损价*0.995,'BUY1');
DRAWBMP(牛股池=1,止盈价*1.05,'SELL1');
YMA:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORWHITE,LINETHICK1;
YMB:=EMA(YMA,3),COLORWHITE,LINETHICK1;
TYP:=(HIGH+LOW+CLOSE)/3;
CI15:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));
CI10:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
CI5:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
CI3:=(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3));
EMAH3:=REF(EMA(H,3),1);
EMAL3:=REF(EMA(L,3),1);
EMAH5:=REF(EMA(H,5),1);
EMAL5:=REF(EMA(L,5),1);
EMAZ:=(EMAH3+EMAL3)/2;
EMA3:=(EMAH3-EMAL3)/4+EMAL3;
止盈价1:=EMAH3+(EMAH3-EMAL3)/4;
- 上一篇公式:通达信 冠军1号VOL源码副图
- 下一篇公式:通达信与庄共舞副图指标 完全加密 贴图