input:n(26,5,300),p(2,0.1,10);MA13:MA(C,13),COLORFF9900,DOTLINE;MID :MA(CLOSE,N),DOTLINE;UPPER: MID + P*STD(CLOSE,N),DOTLINE;LOWER: MID - P*STD(CLOSE,N),DOTLINE;X:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(l,x))*0.95; DIFF :EMA( EMA(CLOSE,12) - EMA(CLOSE…
X1:=(CLOSE+LOW+HIGH)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);VAR2:=EMA(EMA(X1,1),13);VAR3:=EMA(VAR2,21);XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);TEMPG:=MAX(HIGH,XOPEN);XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);TEMP:=MIN(LOW,XOPEN…
DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(60,0,80),0));{1.K线重心}HL8:(MA(H,8)+MA(L,8))/2,COLOR00ff00,LINETHICK1;MC8:EMA(C,8),COLOR0000ff,LINETHICK1;fillrgn(HL8,MC8,HL8<MC8,RGB(150,0,0),HL8>MC8,RGB(0,150,0)),LAYER7;{2.k线.正常上涨}STICKLINE(CLOSE&…
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);DEA:=EMA(DIFF,5);MACD:=2*(DIFF-DEA);A1:=EMA(DIFF,5)*100;A2:((EMA(CLOSE,3)-EMA(CLOSE,8)))*100,LINETHICK0;A3:=IF(A2>0,A2,50);A4:=IF(A2<0,A2,50);动能A:=A2;动能B:=A1;FILLRGN(动能B,动能A,动能B<动能A,rgb(180,50,0),动…
轨道:MA(C,10),LAYER3;M60:EMA(MA(C,60),1);STICKLINE(C<轨道,H,L,8,0),COLOR000000,LAYER3;STICKLINE(C<轨道,C,O,8,0),COLOR000000,LAYER3;STICKLINE(C>REF(c,1),C,O,1,0),COLORFF00FF,LAYER3;STICKLINE(C<轨道 AND C>REF(c,1),C,O,1,0),COLOR000000,LAY…
DRAWRECTABS(0,0,30,32,rgb(250,60,80)),color000099;DRAWRECTABS(0,30,30,33,rgb(250,250,80)),colorred;DRAWTEXTABS(2,18,王平家),colorFFFFFF,LINETHICK1;DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD :=2*(DIFF-DEA);drawicon(ref(macd,1)=llv(mac…
X:=BARSLAST(DISPSTATUS=1)+1;DRAWTEXTABS(500,5,[+STKLABEL+]+ STKNAME+:【可视:+X+天,】),Color0077FF,LINETHICK7,LAYER0;现价: if (DYNAINFO(4)=0,C,DYNAINFO(7)),color0077FF,POINTDOT;KC:=(2*C+H+L+O)/5;CB:=MEMA(KC,5);Xl:=slope(CB,3)>0;PARTLINE(CB,X…
input:n(1,1,6);DRAWGBKlast(DATE>900101,strip(RGB(40,0,40),RGB(0,0,0),0));;DRAWTEXTREL(10,20,★【第+N+方案】),COLOR0077FF,LINETHICK2;IF N=1 THEN BEGINDRAWTEXTREL(100,20,【CCI】),COLOR0077FF,LINETHICK2;A:30,DOTLINE;B:70,DOTLINE;SJ1:WMA((C-LLV(L…
{成本线}CYC1:COST(1),COLORFF66CC;CYC5:COST(5),COLORFF00CC;CYC13:COST(13),COLOR00CCCC; CYC34:COST(34),COLOR00DEEE; CYC55:COST(55),COLOR00ACCC,LINETHICK2;CYC79:COST(79),COLORAACC22; CYC95:COST(95),COLORGREEN;MA7:MEMA(EMA(CLOSE,3),7),COLORFFFFFF;PARTLINE…
f0:ema(c,20),linethick0;va:=ema(c,2);va1:=ema(ref(c,3),5);j:=sum(AMOUNT/100,2)/sum(v,2);vok:=if(cross(va,va1),1,0);vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1)or ref(c,1)<ref(o,1) and o>ref(c,1) and l>re…
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorblue,pointdot;主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2…
N:=9;N1:=6;M:=14;AAATYP := (HIGH + LOW + CLOSE)/3;AAA1:=(AAATYP-MA(AAATYP,M))/(0.015*AVEDEV(AAATYP,M));C1:=SMA(AAA1,3,1);C2:=SMA(C1,3,1);C3:=3*C1-2*C2;CB1:=EMA(C3,5);CB2:=REF(CB1,1);LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),…