zjtz288 发表于 2016-1-29 15:31

通达信龙腾股海指标公式



STICKLINE(18,66,0,5,0),COLORBLUE;
VAR1:="DMI.PDI"(12,6);
VAR2:="DMI.MDI"(12,6);
VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);
VAR4:=LLV(VAR1,0);
VAR5:=BARSLAST(VAR4=VAR1);
VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
VAR7:=VAR1>REF(VAR1,1);
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-"MACD.DIF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND **** Hidden Message *****

tyrant188 发表于 2016-1-29 15:59

万手:VOL/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 预测:AA/10000;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主 动 买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));主买:主动买/10000,COLORRED; 主 动 卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));主卖:-主动卖/10000,COLORGREEN; 差额:(主动买+主动卖)/10000;STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE; STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED; STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFFSTICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBBSTICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEESTICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFFSTICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFFSTICKLINE(主动买>=0,VOL,-主动卖,3.2,0),COLOR000033; STICKLINE(主动买>=0,VOL,-主动卖,2.7,0),COLOR000066; STICKLINE(主动买>=0,VOL,-主动卖,2.1,0),COLOR000099; STICKLINE(主动买>=0,VOL,-主动卖,1.5,0),COLOR0000CC; STICKLINE(主动买>=0,VOL,-主动卖,0.9,0),COLOR0000FF; STICKLINE(主动买>=0,VOL,-主动卖,0.2,0),COLORCC66FF; STICKLINE(主动卖<=0,0,-主动卖,3.2,0),COLOR990000; STICKLINE(主动卖<=0,0,-主动卖,2.7,0),COLORCC0000; STICKLINE(主动卖<=0,0,-主动卖,2.1,0),COLORFF4400; STICKLINE(主动卖<=0,0,-主动卖,1.5,0),COLORFF8800; STICKLINE(主动卖<=0,0,-主动卖,0.9,0),COLORFFCC00;

STICKLINE(主动卖<=0,0,-主动卖,0.2,0),COLORCYAN;持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORBLUE; 持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED; 五日: MA(V,5)COLORWHITE; 十日
: MA(V,10)COLORYELLOW;

绿舟 发表于 2016-1-29 17:58

岁豆豆 发表于 2016-1-29 15:40

路过看看谢谢分享:P:$:P

内部斗争 发表于 2016-1-29 15:50

谢谢楼主分享

周坤 发表于 2016-1-29 16:01

谢谢,,,,,,,,,,,,,

李浚泓 发表于 2016-1-29 16:03

谢谢楼主分享!

yyroad 发表于 2016-1-29 16:04

谢谢楼主分享

zgfjax 发表于 2016-1-29 16:09

请放图,谢谢

老棉袄333 发表于 2016-1-29 16:25

谢谢楼主分享

t20ily 发表于 2016-1-29 16:33

感谢楼主无私分享

NIAN 发表于 2016-1-29 18:18

谢谢楼主分享

xiaolanxing 发表于 2016-1-29 20:17

学习学习。。。。

AD15147086 发表于 2016-1-29 20:21

谢谢了,认真学习哦!

lidalao 发表于 2016-1-29 22:09

谢谢楼主分享
页: [1] 2
查看完整版本: 通达信龙腾股海指标公式