VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,‘財(cái)神到 機(jī)構(gòu)進(jìn)場(chǎng)’),LINETHICK1,COLORFF00FF;
VAR1A:=IF(VARE》0,VARE,0);
VAR1B:=IF(VAR14》=200 AND VAR13》=150,15,IF(VAR14《=-200 AND VAR13《=-150,-15,VAR16))+60;
VAR1C:=VAR1A》48 AND VAR1B》60 AND VAR19《100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.95,‘大頂(底)’) COLORWHITE;
N:=IF(BARSCOUNT(C)》=8,8,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,N)/SUM(VOL,N);
NOTEXT1:IF(C》=MN,MN,DRAWNULL),LINETHICK3,COLORYELLOW;
NOTEXT2:IF(C《MN,MN,DRAWNULL),LINETHICK3,COLORGRAY;
MA30:=MA(C,30);
壓力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撐:MA(REF(LLV(C,30),1),2),COLORABFF46;
買賣副圖源碼
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2》0 AND VAR2》VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3》0 AND VAR3》VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7》VAR6 AND VAR7》25 AND VAR6《25);
B:ZIG(3,5)*100,COLORWHITE;
G:MA(B,3);
D:CROSS(B,G)*1000,COLORRED;
W:CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F《8;
VAR11:=(CLOSE-LLV(LOW,9))/(www.hxqdsh.comHHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13《20;
A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,1000,‘賣’ ),COLORWHITE ;
DRAWTEXT(D=1000, 1000,‘買’),COLORWHITE ;
VAR33:=PEAKBARS(3,15,1)《10;
VAR55:=IF(VAR33=1,2,0);
頂:= IF(VAR55=2,2,0);
頂A:IF(頂》REF(頂,1),1000,0),COLORGREEN;
DRAWTEXT(頂A=1000,1000,‘逃頂’),COLOR00FF00; ;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)