缺口:=(L>REF(H,1));不破:=(ALL(L>REF(H,BARSLAST(缺口)+1),BARSLAST(缺口)+1));STICKLINE(不破,REF(H,BARSLAST(缺口)+1),REF(L,BARSLAST(缺口)),10,1),COLORMAGENTA;下缺口:=(H<REF(L,1));不补:=(ALL(H<REF(L,BARSLAST(下缺口)+1),BARSLAST(下缺口)+1));STI…
次 时间:2018-05-13
A1:1,LINEDOT;A2:2,LINEDOT;A3:3,LINEDOT;A4:5,LINEDOT;A5:8,LINEDOT;A6:15,LINEDOT;A7:25,LINEDOT;量比:DYNAINFO(17),LINETHICK0;换手:(100*v/capital);PARTLINE(换手>ref(换手,1),换手),LINETHICK2,COLORff;DRAWTEXT(ISLASTBAR,1,1);DRAWTEXT(ISLASTBAR,2,2);DR…
次 时间:2018-05-13
S:=CROSS(CLOSE,EMA(HIGH,30));X:=CROSS(EMA(LOW,30),CLOSE);WS:=BARSLAST(S)+1;WX:=BARSLAST(X)+1;SS:=CROSS(SUM(S,WX),0.5);XX:=CROSS(SUM(X,WS),0.5);STICKLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30),EMA(LOW,30),1,1),colorred;STICKLINE(CLOSE<EMA(LOW,30),EMA(LO…
次 时间:2018-05-13
均价:=(2*C+(H-L)/2+L+o)/4;LC:=REF(均价,1); rsi24:=((((SMA(MAX((均价- LC),0),24,1) / SMA(ABS((均价- LC)),24,1)) * 100) ));rsi48:=((((SMA(MAX((均价- LC),0),48,1) / SMA(ABS((均价- LC)),48,1)) * 100)));rsi72:=((((SMA(MAX((均价- LC),0),72,1) / SMA(ABS((均价…
次 时间:2018-05-13
//MACD基本定义:EM12:=(EMA(C,12));EM26:=(EMA(C,26));DIFF:=EM12-EM26;DEA:=EMA(DIFF,9);barz:=2*(DIFF-DEA);//判断ss:=DIFf>=0;//水上,多头排列sx:=DIFf<0;//水下,空头排列hz:=barz>=0;//dif峰阳面,柱线红lz:=barz<0;//dif峰阴面,柱线绿//反映到主图:…
次 时间:2018-05-13
JgX:=(2*C+(H-L)/2+L+o)/4;ajb:=IF(capital>20000000,capital*30/100,IF(capital>12000000,capital*25/100,capital*20/100));AV:=if(INDEXC=C,amount/10000000000,100*V/(capital-ajb)); kk:=if(INDEXC=C,300,100);SK:=IF(SUM(AV,0)<kk,BARSCOUNT(C),SUMBARS(AV…
次 时间:2018-05-13
m:=55;n:=34;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),3,1)/SMA(MAX(LOW-Var1,0),3,1)*100;Var3:=EMA(IF(CLOSE*1.2,Var2*10,Var2/1…
次 时间:2018-05-13
Var1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;Var2:=EMA(Var1,9);Var3:=2*(Var1-Var2);FILLRGN(Var1>=0,0,Var1*0.8),COLOREEEEFF;FILLRGN(Var1>=0,0,Var1*0.7),COLORDDDDFF;FILLRGN(Var1>=0,0,Var1*0.6),COLORCCCCFF;FILLRGN(Var1>=0,0,Var1*0.5),COLORBBBBFF;F…
次 时间:2018-05-13
N:=5;P:=13;DRAWGBK(1,COLORRGB(265,0,0),COLORRGB(265,285,0),0);AA1:=WMA(CLOSE,2);BB1:=EMA(AA1,2);A:=MA(BB1,3);AA2:=WMA((HIGH+CLOSE+OPEN)/3,18);DD3:=A>=AA2 AND CLOSE>AA2;DD4:=A<AA2;DD5:=A>AA2;STICKLINE((DD4 OR DD5) AND OPEN<=CLOSE,HIGH,LO…
次 时间:2018-05-13
n:=15;z:=ZIG(4,n);H1:=Z<REF(Z,1) AND REF(Z,1)=HHV(Z,3);H2:=FILTER(BACKSET(H1,2),1);L1:=Z>REF(Z,1) AND REF(Z,1)=LLV(Z,3);L2:=FILTER(BACKSET(L1,2),1);H3:=BARSLAST(H2);L3:=BARSLAST(L2);h4:=REF(H,REF(h3,1)+1);l4:=REF(L,REF(l3,1)+1);h5:=COUNT(h2,0)/2…
次 时间:2018-05-13
平衡:EMA(C,20),CIRCLEDOT,COLORwhite;上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORFF00FF;下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00ff00;STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff;STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,co…
次 时间:2018-05-13
VOL,VOLSTICK;预测额:=IF(DATE<>CURRENTDATE OR OPENMINUTES(CURRENTTIME)=1,AMOUNT,(AMOUNT/OPENMINUTES(CURRENTTIME))*240), LINETHICK;n:=20;SAT:=IF((预测额/CLOSE)/(HHV(预测额,N)/HHV(CLOSE,N))*100>100,100,(预测额/CLOSE)/(HHV(预测额,N)/HHV(CLOSE,N))…
次 时间:2018-05-13