软件名称:[B]赢在买卖趋势版,买卖精准附原理说明(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2020-11-04 00:08:21
软件简介:
纯属玩玩~原理为移动平均数,近期与远期之间的交叉判定。含有未来函数。
//赢在买卖趋势版
//趋势版赢在买卖,原理是指数平均数,近期与远期之前的交叉形成的买与卖,有未来函数,仅作为参考,不做交易使用。
EMA3:EMA(CLOSE,4);
EMA20:EMA(EMA3,20);
EMA120:EMA(CLOSE,120),colorcyan;
STICKLINE(EMA3>EMA20,EMA3,EMA20,1,1),colorred;
STICKLINE(EMA3<EMA20,EMA3,EMA20,1,1),colorblue;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
D:=CROSS(ZIG(3,50/5)*100,MA(ZIG(3,50/5)*100,2))*1000,colorred;
W:=CROSS(MA(ZIG(3,50/5)*100,2),ZIG(3,50/5)*100)*1000,colorblue;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14;
DRAWICON(D=1000,L*0.98,1);
DRAWTEXT(D=1000,L*0.95,'-买进'), coloryellow;
DRAWICON(W=1000,HIGH*1.02,2);
DRAWTEXT(W=1000,HIGH*1.02,'卖出'), colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-151878.html]赢在买卖趋势版,买卖精准附原理说明(同花顺公式 主图 源码 测试图)[/url]