通达信千钧逆向思维源码副图

2015-11-24 20:52:00来源:本站整理浏览:183

千钧逆向思维
 原作者  一发千钧
 响应咋的的号召,我的自用指标:
 【逆向思维、做波段】。
 原理是:
 看着长线趋势,把握短线机会。
 长趋势不明,休息、或快进快出。
 长趋势稳定,中线持股,或波段进出。

input:N(10,1,100),M1(6,1,100),M2(6,1,100);
 DRAWGBK((CLOSE<HHV(HIGH,0)),COLORRGB(60,15,35),COLORRGB(50,50,90),1);
 J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,vol,0);
 J2:=IF(CLOSE<QJ,VOL,0);
 var1:=IF(CAPITAL<1,MA(vol,74),MA(SUM(J1-J2,5),5));
 var2:=IF(CAPITAL<1,WMA(var1,360),WMA(var1,90));
 var3:=(var1-var2);
 RSV:=(((CLOSE-LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);
 K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);K2:=IF((K>D),K,D);K3:=(D-(K-D));
 K4:=IF((K3<D),K3,D);RSV:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)))*100;
 LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);LWR3:=HHVBARS(LWR1,90);
 HB:=(((CLOSE - LLV(LOW,30)) / (HHV(CLOSE,30) - LLV(LOW,30))) * 100);
 STICKLINE(var1>=var2,90,50,6,0),color880088;
 STICKLINE(var1<var2,0,50,6,0),color008800;
 FILLRGN((LWR1>LWR2),LWR1,LWR2),colorFF;
 STICKLINE((LWR1<=LWR2),LWR1,LWR2,3,0),colorE66878;
 STICKLINE((K<=D),K4,K2,7,0),LINETHICK2,colorFF00;
 DRAWTEXT((CROSS(K,D) AND (D<30)),85,"▲\n┻"),colorFF00FF;
 DRAWTEXT((CROSS(D,K) AND (D>70)),25,"◎\n▼"),colorFFFF;
 DRAWICON(FILTER(CROSS(HB,20),5),15,4);
 DRAWTEXTEX(C,1,10,10,"看清大趋势操作各股"),Color00DDFF;
 DRAWTEXTEX(c,1,240,10,STKLABEL+" "+STKNAME+""),Color00DDFF;
 

千钧逆向思维  (通达信 源码 副图 附图)
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);
 J2:=IF(CLOSE<QJ,VOL,0);
 VAR1:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,5),5));
 VAR2:=IF(CAPITAL<1,WMA(VAR1,360),WMA(VAR1,90));
 VAR3:=(VAR1-VAR2);
 RSV:=(((CLOSE-LLV(LOW,10)) / (HHV(HIGH,10) - LLV(LOW,10))) * 100);
 K:=SMA(RSV,6,1);D:=SMA(K,6,1);K2:=IF((K>D),K,D);K3:=(D-(K-D));
 K4:=IF((K3<D),K3,D);
 RSV1:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)))*100;
 LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);
 LWR3:=HHVBARS(LWR1,90);
 STICKLINE(VAR1>=VAR2,90,50,3,0),COLOR880088;
 STICKLINE(VAR1<VAR2,0,50,3,0),COLOR008800;
 STICKLINE((LWR1<=LWR2),LWR1,LWR2,2.6,1),COLORE66878;
 STICKLINE((K<=D),K4,K2,2.6,1),COLOR00FF00;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式