%>
EV:=VOL;
预计换手:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,0);
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7,-21),color66cccc;
今日:EV,LINETHICK0,colorFF;
STICKLINE(VOL>0,VOL,0,6,1),colorFF00;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
YE6:=SUM(YE1*YE5,1);
YE7:=SUM(YE2*YE5,1);
YE8:=SUM(YE3*YE5,1);
YE9:=SUM(YE4*YE5,1);
均价:AMOUNT/100/VOL,PRECISION2,colorAAFF;
买盘:YE9+YE8,LINETHICK0,PRECISION2,colorFFFF;
STICKLINE(YE9+YE8>0,YE9+YE8,0,8,0),colorAA;
STICKLINE(YE6+YE7>0,YE6+YE7+YE9+YE8,YE9+YE8,8,0),color998855;
STICKLINE(YE9+YE8>0,YE9+YE8,0,5,0),colorCC;
STICKLINE(YE9+YE8>0,YE9+YE8,0,3,0),colorDD;
STICKLINE(YE9+YE8>0,YE9+YE8,0,1,0),colorFF;
STICKLINE(YE6+YE7>0,YE6+YE7+YE9+YE8,YE9+YE8,5,0),colorBBAA77;
STICKLINE(YE6+YE7>0,YE6+YE7+YE9+YE8,YE9+YE8,3,0),colorDDCC99;
STICKLINE(YE6+YE7>0,YE6+YE7+YE9+YE8,YE9+YE8,1,0),colorFFEEBB;
卖盘:=(YE6+YE7)*(-1),LINETHICK0,PRECISION2,colorFF00;
买卖差:YE9+YE8-(YE6+YE7),LINETHICK0,PRECISION2,colorFF00FF;
今日换手:VOL/CAPITAL*100,LINETHICK0,PRECISION2;
HSS:=VOL/CAPITAL*100;
十日换手:SUM(HSS,10),PRECISION2,colorFFBE00;
五日:MA(VOL,5),LINETHICK2,PRECISION2,colorFFFFFF;
十日:MA(VOL,10),LINETHICK2,PRECISION2,colorFF;
二十日:MA(VOL,20),LINETHICK2,PRECISION2,colorFF00FF;
STICKLINE(买卖差>0,0,买卖差,8,0),colorAAAA;
STICKLINE(买卖差>0,0,买卖差,5,0),colorCCCC;
STICKLINE(买卖差>0,0,买卖差,3,0),colorEEEE;
STICKLINE(买卖差>0,0,买卖差,1,0),colorFFFF;
STICKLINE(买卖差<0,买卖差,0,8,0),colorBB7100;
STICKLINE(买卖差<0,买卖差,0,5,0),colorFF7100;
STICKLINE(买卖差<0,买卖差,0,3,0),colorFF9000;
STICKLINE(买卖差<0,买卖差,0,1,0),colorFFBE00;
V1:=HIGH-LOW;
V2:=ABS(OPEN-CLOSE);
V3:=HIGH-(IF(CLOSE>OPEN,CLOSE,OPEN));
V4:=(IF(CLOSE>OPEN,OPEN,CLOSE))-LOW;
V5:=V2/V1*VOL;
V6:=V3/V1*VOL;
V7:=V4/V1*VOL;
追涨:IF(V5>MA(VOL,5)*2 AND V5>=V6 AND V5>=V7 AND CLOSE>OPEN OR VOL>MA(VOL,5)*3,VOL/2,0),LINETHICK2,colorFFFF;
DRAWTEXTEX(CLOSE,1,850,60,'★ 瑞亭制作 ★'),colorFFFF;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
RSV:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
K:=SMA(RSV,6,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
XA:=(IF(CROSS(J1,J) AND J<20,-1,0))+(IF(CROSS(J,J1) AND J>80,1,0));
TYP:=(HIGH+LOW+CLOSE)/3;
CCJ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2;
RSI1:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
K2:=EMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,9);
XB:=(IF(CCJ>100 AND K2>50 AND CLOSE>OPEN,0.5,0))+(IF(RSI1>80 AND K2>50 AND CLOSE>OPEN,0.5,0));
RSV3:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
K13:=SMA(RSV3,21,1);
D13:=SMA(K1,3,1);
J13:=3*K13-2*D13;
XC:=IF(J13>80 AND RSI1>85,0.5,0);
逃顶:VOL*(XA+XB+XC>0),LINETHICK2,PRECISION0,colorFF00;
AA:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*(HIGH- OPEN+CLOSE-LOW),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-AA* (HIGH-LOW),-VOL/2));
促进指数MFL:(HIGH-LOW)*1000000/VOL,LINETHICK0,colorFF;
MFI:=(HIGH-LOW)*1000000/VOL;
绿灯:=MFI>=REF(MFI,1) AND VOL>=REF(VOL,1);
衰退:=MFI<=REF(MFI,1) AND VOL<=REF(VOL,1);
伪装:=MFI>=REF(MFI,1) AND VOL<=REF(VOL,1);
蛰伏:=MFI<=REF(MFI,1) AND VOL>=REF(VOL,1);
卖盘:VOL-主动买盘,LINETHICK0,PRECISION2,colorFF00;
卖盘大:=(卖盘-主动买盘)/卖盘>0.6;
买盘大:=(主动买盘-卖盘)/主动买盘>0.6;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
VD6:=VD1*VD5;
VD7:=VD2*VD5;
VD8:=VD3*VD5;
VD9:=VD4*VD5;
买入量:=VD9+VD8;
卖出量:=-VD6+VD7;
卖量:=VOL-买入量;
卖量大:=(卖量-买入量)/卖量>0.4;
买量大:=(买入量-卖量)/买入量>0.4;
EXPLAIN(1=1,' 【买卖盘解量】'),colorFFFF;
EXPLAIN(绿灯,'[绿灯]+实计交易量增加。+MFI促进指数增加。'),colorFF;
EXPLAIN(衰退,'[衰退]-实计交易量减少。-MFI促进指数减少。'),colorFF00;
EXPLAIN(伪装,'[伪装]-实计交易量减少。+MFI促进指数增加。'),color9900;
EXPLAIN(蛰伏,'[蛰伏]+实计交易量增加。-MFI促进指数减少。'),colorFFFF;
EXPLAIN(卖盘大,'★主动卖盘大于主动买盘60%以上;'),color9900;
EXPLAIN(买盘大,'★主动买盘大于主动卖盘60%以上;'),colorFFFF;
EXPLAIN(卖量大,'☆卖出量大于买入量40%以上;'),color9900;
EXPLAIN(买量大,'☆买入量大于卖出量40%以上;'),colorFFFF;
EXPLAIN(1=1,' 【控盘情况】'),colorFFFF;
EXPLAINEX(1=1,'当日主动买卖盘(手)=',VOL,2,0),colorFFCCFF;
EXPLAINEX(1=1,'其中主动买盘(手)=',主动买盘,2,0),colorFFCCFF;
EXPLAINEX(1=1,'其中主动卖盘(手)=',主动卖盘,2,0),colorFFCCFF;
EXPLAINEX(1=1,'当日买卖量(手)=',VOL,2,0),colorFFCCFF;
EXPLAINEX(1=1,'其中买入量(手)=',买入量,2,0),colorFFCCFF;
EXPLAINEX(1=1,'其中卖出量(手)=',卖出量,2,0),colorFFCCFF;
YANG:=CLOSE>=OPEN; //陽線
YING:=CLOSE<OPEN; //陰線
{陽線上下影}
STICKLINE(YANG,L,H,0,0),,COLOR5555FF;
{陽K線}
STICKLINE(YANG,C,O,8,0),COLOR5555FF;
STICKLINE(YANG,C,O,7,0),COLOR6666FF;
STICKLINE(YANG,C,O,6,0),COLOR7777FF;
STICKLINE(YANG,C,O,5,0),COLOR8888FF;
STICKLINE(YANG,C,O,4,0),COLOR9999FF;
STICKLINE(YANG,C,O,3,0),COLORAAAAFF;
STICKLINE(YANG,C,O,2,0),COLORBBBBFF;
STICKLINE(YANG,C,O,1,0),COLORCCCCFF;
{陰線上下影}
STICKLINE(YING,L,H,0,0),,COLORFFFF55;
{陰K線}
STICKLINE(YING,C,O,8,0),COLORFFFF55;
STICKLINE(YING,C,O,7,0),COLORF0FF66;
STICKLINE(YING,C,O,6,0),COLOREEFF77;
STICKLINE(YING,C,O,5,0),COLORDDFF88;
STICKLINE(YING,C,O,4,0),COLORCCFF99;
STICKLINE(YING,C,O,3,0),COLORCCFFAA;
STICKLINE(YING,C,O,2,0),COLORBBFFBB;
STICKLINE(YING,C,O,1,0),COLORAAFFCC;
{跳空情況}
STICKLINE(LOW>REF(HIGH,1) OR HIGH<REF(LOW,1),HIGH,LOW,1,1),COLOR00FF00; //跳空
STICKLINE(OPEN<=CLOSE AND LOW>REF(HIGH,1) AND CLOSE>=REF(CLOSE,1),OPEN,CLOSE,8,1),COLOR00FF00; //跳空上漲收陽
STICKLINE(OPEN>CLOSE AND LOW>REF(HIGH,1) AND CLOSE>=REF(CLOSE,1),OPEN,CLOSE,8,0),COLOR00FF00; //跳空上漲收陰
STICKLINE(OPEN<=CLOSE AND HIGH<REF(LOW,1) AND CLOSE< REF(CLOSE,1),OPEN,CLOSE,8,1),COLOR00FF00; //跳空下跌收陽
STICKLINE(OPEN>CLOSE AND HIGH<REF(LOW,1) AND CLOSE< REF(CLOSE,1),OPEN,CLOSE,8,0),,COLOR00FF00; //跳空下跌收陰
{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}