个人爱好分享
VARA VARB VARC 这三个是用来赋值的变量,
LLV(X,N)是求N周期内X更低值,在这里就是求40天内的更低价的更低的那个值.
HHV(X,N)是求N周期内X更高值,在这里就是求35天内的更高价的更高的那个值
EMA(X,N)是求N周期内X的异同平均值,在这里就是求,四天内的异同平均值,
(CLOSE-VARA)求的是当期收盘价减去VARA VARA是四十天内的更低价,
(VARB-VARA)求的是35天内的更高价减去40天内的更低价,
应该能看明白了吧.
[img]不同的期货品种波动规律是不一样的,掌握规律,做好几个品种就够了!想做好期货:要学会等待机会,不能频繁操作,手勤的人肯定亏钱! 不需要看太多复杂的指标,大繁至简,顺势而为;只需看分时线,利用区间突破,再结合一分钟K线里的布林带进行短线操作,等待机会再出手,止损点要严格设置在支撑和阻力位,止盈可以先不设:这样就可以锁定风险,让利润奔跑!止损点一定一定要在系统里设好:他可以克服人性的弱点,你舍不得止损,让系统来帮你!我们是个团队,指导操作同时也代客操盘,利润分成! 做久了才知道,期货大起大落,我们不求大赚,只求每天稳定赚钱!
要知道:在想到利润之前首先要想到的是风险!期货里爆赚爆亏的人太多,比爆赚爆亏更重要的是长久而稳定的盈利
新建一个公式,输入以下源码即可
{主图公式:支撑压力射线加黄金分割}
N:=75;P:=5;P1:=10;{N为多少天内的高低值参数,我以自已的初始K线根数定义。P1、P2为短、长支撑压力取点参数}
A1:=REF(H,P)=HHV(H,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);
E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
F1:=E1REF(E1,1);
短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;
A2:=REF(L,P)=LLV(L,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);
E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
F2:=E2REF(E2,1);
短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;
AA1:=REF(H,P1)=HHV(H,2*P1+1);
BB1:=FILTER(AA1,P1);
CC1:=BACKSET(BB1,P1+1);
DD1:=FILTER(CC1,P1);
EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);
FF1:=EE1REF(EE1,1);
长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;
AA2:=REF(L,P1)=LLV(L,2*P1+1);
BB2:=FILTER(AA2,P1);
CC2:=BACKSET(BB2,P1+1);
DD2:=FILTER(CC2,P1);
EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);
FF2:=EE2REF(EE2,1);
长支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;
STICKLINE(C=O,C,O,3,0),COLOR000045;
STICKLINE(C=O,C,O,2.5,0),COLOR000065;
STICKLINE(C=O,C,O,2,0),COLOR000085;
STICKLINE(C=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C=O,C,O,1,0),COLOR0000C5;
STICKLINE(C=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C=O,H,L,0,0),COLOR0000F5;
STICKLINE(CO,C,O,3,0),COLOR353500;
STICKLINE(CO,C,O,2.5,0),COLOR454500;
STICKLINE(CO,C,O,2,0),COLOR555500;
STICKLINE(CO,C,O,1.5,0),COLOR656500;
STICKLINE(CO,C,O,1,0),COLOR757500;
STICKLINE(CO,C,O,0.5,0),COLOR858500;
STICKLINE(CO,H,L,0,0),COLOR959500;
高:=REFDATE(HHV(H,N),DATE);
低:=REFDATE(LLV(L,N),DATE);
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
DRAWTEXT(CURRBARSCOUNT=1,高,'高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,'809'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,'618'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=1,H3,'中'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,'382'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,'191'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,'低'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORGRAY;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;
通达信征战商品期货重要指标公式
HA:(HHV(HIGH,120)),LINETHICK3,COLORRED;HHA:(HHV(HIGH,30)),LINETHICK1,COLORLIRED;LA:(LLV(LOW,120)),LINETHICK1,COLORGREEN;LLA:(LLV(LOW,30)),LINETHICK3,COLORRED;
DRAWBAND(HA,RGB(O,200,200),HHA,RGB(O,200,200));DRAWBAND(LA,RGB(0,100,100),LLA,RGB(O,100,10O));DRAWICON(C(HHA-((HHA/C)/10)),H*1.01,2);
DRAWICON(C(LLA+((LLA/C)/10)),L*0.99,1);C;
网站首页:期货手续费网-加1分开户(微信:527209157)
本文链接:http://52ol.cn/post/39853.html
本站福利推荐!!!
正规期货账户开户!交易所手续费加1分(+0.01元),无条件!无资金手续费要求,享受手续费加1分!期货开户微信:527209157
或扫描下方二维码添加微信
Copyright 2012-2024 期货手续费网-加1分开户 网站地图 邮箱:diyijiaoyi@qq.com 微信:527209157 湘ICP备18014167号