旺旺精彩 发表于 2010-4-10 19:19

能否修改成当天就有信号?谢谢! <BASE target=_self>

周建国 发表于 2010-4-10 22:46

<P>A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); <BR>B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); <BR>分水岭:IF(MA(CLOSE,17)&lt;B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2; <BR>操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2; <BR>PM:MA(C,5),COLORWHITE,LINETHICK2; <BR>IF(PM&gt; REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; <BR>IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED; <BR>IF(PM&lt;REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2; <BR>S:=(PM&gt; 操作线); <BR>DD:=分水岭&lt;REF(分水岭,1); <BR>IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK2; <BR>IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4; <BR>DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头} <BR>A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1)); <BR>B1:=REF(C,A1+1)&gt; C AND REF("MACD.DIF",A1+1)&lt;"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA"); <BR>DRAWTEXT(B1&gt; 0,L-0.02,'MACD底背离'),COLOR00FFFF;{MACD底背离} <BR>A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1)); <BR>B2:=REF(C,A2+1)&gt; C AND REF("KDJ.K",A2+1)&lt;"KDJ.K" AND CROSS("KDJ.K","KDJ.D"); <BR>DRAWTEXT(B2,L-0.10,'KDJ底背离'),COLORFF00FF;{KDJ底背离} <BR>A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1)); <BR>B3:=REF(C,A3+1)&gt; C AND REF("RSI.RSI1",A3+1)&lt;"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2"); <BR>DRAWTEXT(B3&gt; 0,L-0.18,'RSI底背离'),COLOR0000FF;{RSI底背离} <BR>C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1)); <BR>D1:=REF(C,C1+1)&lt;C AND REF("MACD.DIF",C1+1)&gt; "MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF"); <BR>DRAWTEXT(D1&gt; 0,H+0.16,'MACD顶背离'),COLOR00FF00;{MACD顶背离} <BR>C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1)); <BR>D2:=REF(C,C2+1)&lt;C AND REF("KDJ.K",C2+1)&gt; "KDJ.K" AND CROSS("KDJ.D","KDJ.K"); <BR>DRAWTEXT(D2&gt; 0,H+0.08,'KDJ顶背离'),COLORFFFFCC;{KDJ顶背离} <BR>C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1)); <BR>D3:=REF(C,C3+1)&lt;C AND REF("RSI.RSI1",C3+1)&gt; "RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1"); <BR>DRAWTEXT(D3&gt; 0,H+0.04,'RSI顶背离'),COLORFF9900;{RSI顶背

终身太狼 发表于 2010-4-12 01:27

当前公式 : 买入大涨 (指标画线公式)&nbsp; <BR>错误句 : <BR>DRAWTEXT(买入,35,14),COLOR00909 <BR>详细信息 : 未知字符串 COLOR00909 <BR>错误起始位置 : 905 ; 长度: 10<BR>

雅朤 发表于 2015-4-9 23:52

类             BOLL

称心如意 发表于 2015-6-1 17:30

周建国 发表于 2010-4-10 22:46
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17) ...

看看,谢谢分享

先行者 发表于 2015-7-24 12:52

很好的技术指标

青松 发表于 2015-10-17 19:38

11111111111111

阿滋猫 发表于 2015-10-17 20:14

当前公式 : 买入大涨 (指标画线公式)
错误句 :B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17) ;
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1)
详细信息 : 变量 B 定义重复!
错误起始位置 : 16 ; 长度: 3

阿滋猫 发表于 2015-10-17 20:16

通过了,谢谢

hbc2000 发表于 2016-3-3 13:01

huifuyou yong jiu ding

hbc2000 发表于 2016-3-3 13:01

huifuyou yong jiu ding

我的手机号码 发表于 2016-12-12 23:05

1111

云中戈 发表于 2019-3-14 12:12

hhhhhhhhhhh

股少浪子 发表于 2019-4-26 19:17

感谢分享,看看~~

股少浪子 发表于 2019-4-26 19:23

感谢分享,看看~~
页: [1] 2
查看完整版本: [通达信] 指标:买入大涨 优化 !