当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:庄散线拉力(同花顺指标 副图 源码 测试图)
软件名称:[B]庄散线拉力(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2022-12-18 00:02:58
软件简介:
庄散线拉力
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
吸筹:IF(VAR8>100,100,VAR8)*VAR1,colorred;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),colorred;
VRO5:=LLV(LOW,27);
VRO6:=HHV(HIGH,34);
VRO7:=EMA((CLOSE-VRO5)/(VRO6-VRO5)*4,4)*25;
建仓区: IF((VRO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
VR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
日买:=IF(CLOSE>OPEN,VR1*(HIGH-LOW),IF(CLOSE<OPEN,VR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2)),colorred,NODRAW;
日卖:=-IF(CLOSE>OPEN,0-VR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VR1*(HIGH-LOW),0-AMOUNT/2)),COLOR00FF00,NODRAW;
日差额:日买-日卖,colorcyan,nodraw;
STICKLINE(日差额>0,10,10.05,7,0),colorred;
STICKLINE(日差额<0,10,10.05,7,0),colorgreen;
STICKLINE(日差额=0 AND C>REF(C,1),10,10.5,7,0),colorred;
STICKLINE(日差额=0 AND C<REF(C,1),10,10.5,7,0),colorgreen;
庄线:EMA(3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),3,1),6),colorred,LINETHICK2;
散线:100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),colorgreen,LINETHICK2;
金叉:CROSS(庄线,散线),colorred,NODRAW;
死叉:CROSS(散线,庄线),colorgreen,NODRAW;
DRAWICON(金叉=1,-0,13);
DRAWTEXT(CROSS(散线,庄线),散线,'卖');
DRAWTEXT(CROSS(庄线,散线),庄线,'买');
N:=5;
拉力:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),DOTLINE,coloryellow,LINETHICK0;
底区:8,colorgreen,LINETHICK0;
将拉: IF(CROSS(拉力,底区),80,0),STICK,COLOR0000CC,LINETHICK2;
压庄: IF(拉力<=8,20,0),STICK,colorcyan,LINETHICK2;
DRAWTEXT(CROSS(拉力,底区),30,'建仓'),COLOR0099FF;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorcyan;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),colorblue;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colormagenta;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK2;
高浪日:=REF(短期,1)<2 AND REF(中期,1)<2 AND REF(中长期,1)<2 AND REF(长期,1)<2;
抄底:IF(高浪日,1,0),color0099FF,NODRAW;
STICKLINE(抄底,0,13,5,0),colormagenta,LINETHICK5;
DRAWTEXT(抄底,0,'抄底 '),color0099FF,LINETHICK3;
主升:短期=100 AND 中期 =100 AND 中长期=100 AND 长期=100,Color0099ff,nodraw;
STICKLINE(短期=100 AND 中期=100 AND 中长期=100 AND 长期=100,0,10,1,0),color0099FF;
起爆:CROSS(3*SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1)-2*SMA(SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1),3,1),SMA(SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1),3,1)),colorlired,nodraw;
DRAWICON(起爆,0,9),colorred;
爆发:CROSS(庄线,70),colorred,NODRAW;
DRAWTEXT(爆发,庄线,'爆发') ,coloryellow;
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;
庄进:r0-(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)>0 AND EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3)>=REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),1) AND REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),1)<REF(EMA(EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4),3),2),NODRAW,colormagenta;
DRAWTEXT(庄进>0,-3,'庄进'),colorblue;
STICKLINE(HHV(MA(HIGH,(3)),2)=LLV(MA(HIGH,(3)),1),90,90.05,7,0 ),colorred;
STICKLINE(HHV(MA(HIGH,(3)),2)>LLV(MA(HIGH,(3)),1),90,90.05,7,0 ),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-165454.html]庄散线拉力(同花顺指标 副图 源码 测试图)[/url]