一线天,现在使用正是时候,非常实用的划线主图公式
当前的大盘,经过一周大盘连续的回调也是意料之中,回调之后,还是有可能再突破创新高的。今天发一个自己常用的实用准确公式,也是经过自己的一个测试非常的精准实用。 一线天用法说明1、上穿并且出现红线为入场信号2、线上持股。线下持股3、绿色趋势线提示,黄金横线为量能线4、白金线横线为洗盘线--------------------------------------------------------------------------------这里就不多过的介绍功能了,大家拿到公式后可以进行测试,展示源码图如下自用通达信公式——一线天主图,精准实用的公式一线天主图公式源码{一线天主图指标源码} JJ:=(H+L+3*C)/5;VAR021:=EMA(JJ,5);VAR022:=EMA(JJ,13);VAR023:=EMA(JJ,21);VAR024:=EMA(JJ,34);H1A:=(VAR021+VAR022+VAR023+VAR024)/4;成本和谐:MA(H1A,5),COLORWHITE,LINETHICK1;IF(成本和谐>REF(成本和谐,1),成本和谐,DRAWNULL),COLORRED,LINETHICK3;IF(成本和谐<REF(成本和谐,1),成本和谐,DRAWNULL),COLORGREEN,LINETHICK3;{ZF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) * 10)+EMA(C,20);★强势线★:IF(PERIOD!=0 ,EMA(ZF,34),DRAWNULL),LINETHICK2,COLOR00FFFF;IF(★强势线★>REF(★强势线★,1),★强势线★,DRAWNULL),COLORFF00FF,LINETHICK2;MA120:MA(C,120),DOTLINE,COLORWHITE;}N:=30;T1:=CONST(HHVBARS(V,N));T0:IF(CURRBARSCOUNT<=N+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),LINETHICK3,COLORYELLOW;IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;DRAWTEXT(ISLASTBAR,T0,' 量能平台');N5:=10;T011:=CONST(LLVBARS(LOW,N5));T11HIGH:=CONST(REF(HIGH,T011));VARA1:=IF(CLOSE>150,91.3,0.913);箱体下沿:INTPART(CLOSE/VARA1 )*VARA1,POINTDOT,LINETHICK4,COLORGREEN;箱体上沿:箱体下沿+VARA1,POINTDOT,LINETHICK4,COLORYELLOW ;箱体中线: (箱体下沿+箱体上沿)/2,POINTDOT,COLORWHITE,LINETHICK3; N2:=75;P:=5;P01:=10;{N2为多少天内的高低值参数,我以自已的初始K线根数定义。P1、P2为短、长支撑压力取点参数}A11:=REF(H,P)=HHV(H,2*P+1);B11:=FILTER(A11,P);C11:=BACKSET(B11,P+1);D1:=FILTER(C11,P);E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);F1:=E1>REF(E1,1);短压:DRAWLINE(D1,H,F1,H,1),COLORCYAN;A22:=REF(L,P)=LLV(L,2*P+1);B22:=FILTER(A22,P);C22:=BACKSET(B22,P+1);D2:=FILTER(C22,P);E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);F2:=E2>REF(E2,1);短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;WWWzbsirCOM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));AA1:=REF(H,P01)=HHV(H,2*P01+1);BB1:=FILTER(AA1,P01);CC1:=BACKSET(BB1,P01+1);DD1:=FILTER(CC1,P01);EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);FF1:=EE1>REF(EE1,1);长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;AA2:=REF(L,P01)=LLV(L,2*P01+1);BB2:=FILTER(AA2,P01);CC2:=BACKSET(BB2,P01+1);DD2:=FILTER(CC2,P01);EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);FF2:=EE2>REF(EE2,1);长支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;DRAWTEXT_FIX(1,0.00,0,0,HYBLOCK)COLOR0080FF;DRAWTEXT_FIX(1,0.14,0,0,DYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.06,0,EXTERNSTR(0,1))COLOR0000FF;DRAWTEXT_FIX(1,0.00,0.12,0,EXTERNSTR(0,2))COLORFF00FF;
居然有免费的,很好 过来看看的 一切尽在不言中,谢谢! 感谢!
页:
[1]