INPUT:高(0,0,255),XS(0,0,3),调(0,0,2),F(0,0,255);BQ:=IF((SYSPARAM(1) = (BARSSINCE((C > 0)) + 1)),1,0);BQ1:=(H<REF(L,1));BQ2:=(L>REF(H,1));STICKLINE(BQ1,o+(c-o)*0.25,O,5,0),colorcc0000;STICKLINE(BQ1,o+(c-o)*0.25,O,3,0),colordd0000;STICKLINE(BQ…
次 时间:2018-05-13
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);A:=ZIG(K,40);B:=REF(ZIG(K,40),1);DRAWNUMBER(CROSS(A,B),L*0.99,C,2),COLORWHITE;DRAWNUMBER(CROSS(A,B),L*0.97,C*1.03,2),COLORRED;STICKLINE(CROSS(A,B),H,L,0,0),COLORYELLOW;…
次 时间:2018-05-13
//月 半月 周 日 叠加input:月(0,0,1),半月(0,0,1),周(0,0,1),日(0,0,1);TBS:=POW(10,ABS(LOG(MINDIFF)));BY:=MONTH;YB:=BY-REF(BY,1)<>0 OR BARPOS=1;w:=BARSLAST(YB),LINETHICK;dg:=w=0 or ISLASTBAR;wx:=0*C;for P=datacount-1 downto lbound(dg) doif dg[P] th…
次 时间:2018-05-13
Var1:=SUM(C-REF(C,1),7);Var2:=SUM(Var1-REF(Var1,1),3);Var3:=SUM(Var2-REF(Var2,1),2);Var4:=(Var1+Var2+Var3)/3;Var5:=EMA(Var4,1);Var6:=EMA(Var4,3);Var7:=EMA(Var4,7);Var8:=EMA(Var4,21);SM: SUM(Var4,0);SM1: DMA(SM,CLOSE/Var5);SM2: DMA(SM,CLOSE/Var6);SM3: …
次 时间:2018-05-13
MA(C,3);N:=5;K1:=hhv(h,n); K2:=llv(l,n);FC:=close;FOR I=n+1 TO DATACOUNT DO BEGIN IF FC[I]>K1[I-1] THEN BJ[I]:=1;ELSE IF FC[I]<K2[I-1] THEN BJ[I]:=-1;ELSE BJ[I]:=BJ[I-1];END;jr:=IF(BJ=-1,K1,K2);操作线:IF(c>jr,JR*0.998,jr*1.002),colorffff;
次 时间:2018-05-13
V1:=EMA(CLOSE,34)-EMA(CLOSE,5);V2:=EMA(V1,5);趋势:(0-3)*(V1-V2),COLORRED;长期趋势:EMA(V1,10)*(0-1),colorFF9900;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),;DEA:EMA(DIFF,9),;MACD:2*(DIFF-DEA),COLORSTICK;AA:=BARSLAST(CROSS(DIFF,DEA) AND DEA<(0-0.1))<=8;V3:=D…
次 时间:2018-05-13
INPUT:XS(0,0,1),CY1(0,0,5),p2(0,0,255),df(0,0,555),BOL(0,0,999),FA(0,0,3),高H(0,0,255);STICKLINE(C>=O,low,high,0.5,0),colorFF;STICKLINE(C>=O,close,open,8,0),color102088;STICKLINE(C>=O,close,open,7,0),color102099;STICKLINE(C>=O,close,open,6…
次 时间:2018-05-13
WWW:=(L*3-H)/2;{短通道}短高:=MA(WWW,15)*1.07;短低:=MA(WWW,15)*0.97;短中:=(短高+短低)/2;FILLRGN(c,短高,短低),COLOR995500;FILLRGN(c,短中,短低),COLOR663300;{中通道}中高:=MA(WWW,40)*1.15;中低:=MA(WWW,40)*0.95;中中:=(中高+中低)/2;STICKLINE(c,中高,中低,3,0)…
次 时间:2018-05-13
DIF2:=(EMA(CLOSE,240)-EMA(CLOSE,520));DEA2:=EMA(DIF2,180);FILLRGN(DIF2>DEA2, DIF2,DEA2),COLORBLUE;FILLRGN(DIF2<DEA2, DIF2,DEA2),COLORCC3299;DIF1:=(EMA(CLOSE,60)-EMA(CLOSE,130));DEA1:=EMA(DIF1,40);FILLRGN(DIF1>DEA1, DIF1,DEA1),COLORGRAY;FILLRG…
次 时间:2018-05-13
input: N(14,1,20),M(6,1,10);DRAWGBK((DATE > 0),COLORRGB(0,33,0),COLORRGB(0,33,0),1);{-----------------------☆功能开关------------------------}TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD :=HIGH-REF(HIGH,1);LD :=RE…
次 时间:2018-05-13
A101:=REF(H,8)=HHV(H,2*8+1);B101:=FILTER(A101,8);C101:=BACKSET(B101,8+1);D101:=FILTER(C101,8);R1011:=BACKSET(ISLASTBAR,BARSLAST(D101)+1);S11:=R1011>REF(R1011,1);高点连线:=趋势线数值(D101,H,S11,H,0,0),COLORWHITE;突破:CROSS(c,高点连线) and c/ref(c,1)…
次 时间:2018-05-13
m:=58;x:=3;p:=SYSPARAM(1);ws:=BARPOS;ws1:=if(ws<m,ws,m);wsp:=p-ws1+1;wsp1:=ws1-1;h1:=hhv(h,ws1);l1:=llv(l,ws1);hp:=h1[p];lp:=l1[p];hlpx:=(hp-lp)/x;//VERTLINE(m),LINEDOT,Color0000FF;//VERTLINE(p),LINEDOT,Color00FB00;FILLRGN(hp<h1,hp,h1),COLORMAGE…
次 时间:2018-05-13