通达信313操盘思路公式源码
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- {AKEN主图}
- MA3:MA(C,3),LINETHICK2;
- MA13:MA(C,13),COLORGREEN,LINETHICK2;
- IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK2;
- IF(MA13<REF(MA13,1),MA13,DRAWNULL),COLORYELLOW,LINETHICK2;
- DRAWICON(C>MA3 AND C>MA13 AND MA13>REF(MA13,1)
- AND REF(C,1)<MA13,L*0.99,9);
复制内容到剪贴板
- {AKEN主图选股}MA3:=MA(C,3);MA13:=MA(C,13);{IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK2;IF(MA13<REF(MA13,1),MA13,DRAWNULL),COLORYELLOW,LINETHICK2;}AKEN主图选股:C>MA3 AND C>MA13 AND MA13>REF(MA13,1)AND REF(C,1)<MA13;
复制内容到剪贴板
- {AKEN短买选股}
-
- VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
- VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
- VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
- VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
- VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
- VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
- VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
- VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
- VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
- 短买:=VAR19;
- DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
- DEA12:=EMA(DIF12,9);
- 相对MACD:=2*(DIF12-DEA12),COLORSTICK,COLORRED;
- KDIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)};
- KDEA12:=SMA(KDIF12,5,2);
- 买卖力道:=2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;
- 相对DIF:=DIF12,COLORMAGENTA,LINETHICK2;
- 相对DEA:=DEA12,COLORGREEN,LINETHICK2;
- 微分DIF:=KDIF12,COLORYELLOW,LINETHICK2;
- 微分DEA:=KDEA12,COLORLIGRAY,LINETHICK2;
- 短买选股AKEN:短买=1 AND REF(短买,1)=0 AND "KDJ.J"(9,3,3)<50 AND
- 微分DIF>REF(微分DIF,1),COLOR0000FF,LINETHICK2,COLORFF00FF;
6873644980.gif
|