飞狐高位出蓝云减仓指标公式
<p>ZDF:=(C-REF(C,1))/REF(C,1)*100;<br />STICKLINE(ZDF>9.8,0,C,15,0),COLORRED;{红}<br />
STICKLINE(ZDF<-9.8,0,C,16,0),COLORBLUE;{深蓝}<br />
0,COLORWHITE;<br />
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);<br />
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
持仓红:STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR<br />
VAR8 OR VAR9 OR VARA OR VARB OR VARC,L,0,3,1),COLORRED;{持仓红}<br />
淡蓝顶:STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR<br />
VAR8 OR VAR9 OR VARA OR VARB OR VARC AND CLOSE<OPEN,(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR<br />
VAR8 OR VAR9 OR VARA OR VARB OR VARC),HIGH/10,3,1),COLORLIBLUE;{高位出蓝云减仓}<br />
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);<br />
{股旁网-股票公式网站 www.gupang.com}<br />
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);<br />
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);<br />
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR<br />
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,L,0,1,0),COLORLIBLUE;{淡蓝弱势区}<br />
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR<br />
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;<br />
STICKLINE(VAR19,CLOSE,0,4,0),COLORYELLOW;{黄应该走强}<br />
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR<br />
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;<br />
STICKLINE(VAR1A,L*1.5,H,3,0),COLORBLACK;{98FD黑色应该逃命}<br />
STICKLINE(VAR19,CLOSE,0,1,0),COLORRED;{黄包红进}<br />
STICKLINE(VAR1A,(CLOSE*1.2),H,5,0),COLORBLUE;{蓝色}<br />
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF<br />
(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);<br />
SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13)<br />
AND C>REF(C,1) AND C>O;<br />
MR:=SC AND COUNT(SS,2);<br />
买:=MR AND NOT(REF(MR,1)),COLORYELLOW;<br />
DRAWTEXT(买,(C+2)/4,'涨'),COLORRED;{有点强}<br />
追追:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.010 AND<br />
IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);<br />
STICKLINE(追追>90,HIGH/10,(L*1.3)/10,8,0),COLORRED;{“追”强攻跟进,反击观望}<br />
DRAWTEXT(追追>90,(C+1)/4,'追'),COLORMAGENTA;{洋红};</p>
<p></p>
<p> </p>
页:
[1]