龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-12-15 10:11

大智慧新底部建仓指标公式[大智慧公式]

[p=30, 2, left][b]大智慧新底部建仓指标公式[/b][/p][p=30, 2, left][b]参数:[/b]n=7,m=5
[/p]
[p=30, 2, left][b]源码:[/b][/p]
[p=30, 2, left][b][code]
短趋势:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),,LINETHICK1,COLORRED;

VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR3:=LLV(LOW,34); VAR4:=HHV(HIGH,34);

长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),LINETHICK2,COLOR00FF00;

接近底部:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;

VAR5:=CROSS(短趋势,长趋势)AND 长趋势<25; 底部:STICKLINE(短趋势<10 AND 接近底部>0,0,30,6,1),LINETHICK2,COLORFF00FF;

STICKLINE(VAR5,0,50,8,0) ,COLORRED;

DRAWICON(VAR5 AND 接近底部>0,60,1),LINETHICK9,COLORYELLOW;

DRAWTEXT(COUNT(短趋势<10 AND 接近底部>0,8) AND VAR5,50,'庄家在加仓');

DRAWTEXT(CROSS(短趋势,长趋势)AND 长趋势>25 AND 长趋势>ref(长趋势,1),长趋势,'');

VAR6:=CROSS(短趋势,长趋势)AND 长趋势<50;

CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and (CXH=1 OR CXH=6));

DRAWTEXT( COUNT(短趋势<30 AND 接近底部>0,5) AND VAR6,30,'底部吸筹');

VAR7:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

附属轨道:SMA(VAR7,N,1),COLORBLUE;

白金轨道:SMA(附属轨道,M,1),LINETHICK3,COLORWHITE;

买点分析:IF(CROSS(附属轨道,白金轨道) AND 附属轨道<40,99,0),COLORYELLOW;
[/code]
[/b][/p]

页: [1]