通达信一招定乾坤主图指标公式
2020/3/8 18:07:41
M1:=5;M2:=10;SHORT:=12;LONG:=26;MID:=9;M3:=24;
MA5:MA(CLOSE,5);
MA13:MA(CLOSE,13);
MA21:MA(CLOSE,21);
MA34:MA(CLOSE,34);
QQ:=0,COLORWHITE;
MA1:=MA(CLOSE,M1);
MA2:=MA(CLOSE,M2);
JG:=CROSS(MA1,MA2);
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,M1);
MAVOL2:=MA(VOLUME,M2);
NL:=CROSS(MAVOL1,MAVOL2);
{看股吧-股票公式网站 www.kanguba.com}
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
NA:=CROSS(DIF,DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KD:=CROSS(K,D) AND CROSS(J,D);
{看股吧-股票公式网站 www.kanguba.com}
一招定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR
(JG AND NA AND KD) OR (NL AND NA AND KD),L*0.98,'一招定乾坤');
看 股吧公式 www. kanguba.com
其它股票公式列表