龙听期货论坛's Archiver

龙听 发表于 2018-5-14 17:08

文华上下多空指标源码 有声音预警[文华公式]

[b]文华上下多空指标源码 有声音预警[/b][font=宋体, Arial, Helvetica, sans-serif][color=#212121][size=14px][b]源码:[/b][/size][/color][/font]
[font=宋体, Arial, Helvetica, sans-serif][color=#212121]
[/color][/font]
[font=宋体, Arial, Helvetica, sans-serif][color=#212121][size=14px][b][code]
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
A:=CROSS(MA5>=MA10&&MA10>MA20&&MA20>MA30,0.5);
DRAWTEXT(A,H,'上');
PLAYSOUND(MA5>=MA10&&MA10>MA20&&MA20>MA30&&CROSS(MA5,MA10),'A');
B:=CROSS(MA5<=MA10&&MA10
DRAWTEXT(B,H,'下');
PLAYSOUND(MA5<=MA10&&MA10[/code]
[/b][/size][/color][/font]

页: [1]