六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 770 人浏览分享

开启左侧

多空争霸,跟随主力买入(同花顺指标 副图 源码)

[复制链接]
770 0

多空争霸,跟随主力买入
跟随主力 底部分批吸筹建仓 请确认反弹及时加仓 抓住上涨趋势

多空争霸,跟随主力买入(同花顺指标 副图 源码)

多空争霸,跟随主力买入(同花顺指标 副图 源码)

{------------源码开始------------}
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6< 200 AND V7>=150 AND V7< 200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VE:=REF(L,1)*0.9;
VF:=L*0.9;
V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
V11:=EMA(V10,30);
V12:=V11-C;
V13:=REF(C,1);
V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;
V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;
V16:=BARSCOUNT(C);
V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
V1A:=(SMA(V19,4,1)-50)*2;
V1B:=SMA(V1A,3,1);
V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(HHV(H,30)-C)/C*100;
V20:=IF(V17<=25 AND V18< -95 AND V1F>20 AND V1B< -30 AND V1E< 30 AND V12>=-0.25 AND V14< 22 AND V15< 28 AND V16>50,80,0);
大趋势:=V3;
多方:IF(V1>0,V1,DRAWNULL),colorred;
空方:-IF(V1< 0,V2,DRAWNULL),colorgreen;
顶线:IF(VB< 90,VB,100),colorligreen,Linethick1;
抄底:V20,colorred,LINETHICK1;
预警:(IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200 AND V6<=-150,-15,V9))+65),coloryellow,LINETHICK1;
T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
T2:=C;
T3:=多方>60 AND 预警>65 AND 顶线=100;
T4:=多方>48 AND 预警>65 AND 顶线< 100;
T5:=空方< -38 AND 预警< 65;
T6:=抄底>50 AND 顶线< 90;
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
T8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC;
DRAWTEXT(T1 AND COUNT(T1,30)=1,10,'上升通道'),colorred;
DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道'),COLOR80FF00;
DRAWTEXT(T3 AND COUNT(T3,30)=1,55,'上涨过急'),COLORFF00FF;
DRAWTEXT(T4 AND COUNT(T4,30)=1,75,'庄家出货'),colorgreen;
DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'有小反弹'),colormagenta;
DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹'),colormagenta;
DRAWTEXT(T7 AND COUNT(T7,30)=1,-10,'资金进场'),colorred;
DRAWTEXT(T8 AND COUNT(T8,30)=1,90,'见顶回落'),colorgreen;
VAR3:=AMOUNT/VOL/7;
VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1);
VAR9:=EMA(VAR8,10);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3);
进场:=IF(VAR11>REF(VAR11,1),VAR11,0),colorred,LINETHICK1;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,2,0 ),coloryellow;
洗盘:IF(VAR11< REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW;
STICKLINE(VAR11< REF(VAR11,1),0,VAR11,2,0),COLORFFFF00;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘< 0,控盘,0,2,0),colorwhite;
A10:=CROSS(控盘,0);
无庄控盘:=IF(控盘< 0,控盘,0),colorwhite,NODRAW;
开始控盘:=IF(A10,5,0),LINETHICK1,coloryellow;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,0),colorred;
庄控:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),colorred,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)< CLOSE AND 控盘>0,控盘,0,2,0),COLORFF00FF;
高控:IF(VAR2>50 AND COST(85)< CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘< REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLOR00FF00;
出货:=IF(控盘< REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;
周N:=WEEKDAY(2,6);
周HIGH:=IF(WEEKDAY(2,6)=周N,HHV(H,4),0);
周LOW:=IF(WEEKDAY(2,6)=周N,LLV(L,4),0);
周CLOSE:=IF(WEEKDAY(2,6)=周N,CLOSE,0);
周RSV:=(周CLOSE-LLV(周LOW,45))/(HHV(周HIGH,45)-LLV(周LOW,45))*100;
周K:=SMA(周RSV,3,1),colorwhite ;
周D:=SMA(周K,3,1),coloryellow ;
周J:=3*周K-2*周D,colorliblue,LINETHICK1;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V41:=2*(V2-V3)*5.5;
超级主力:=IF(V41>=0,V41,0),colormagenta;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:SMA(RSV3,5,1),coloryellow;
看底:STICKLINE(中线< 15,中线,15,6,0),COLORF00FF0;
黄金坑:STICKLINE(短线< 20 AND 中线< 20 AND 长线< 20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF;
看顶:STICKLINE(中线>80,80,中线,6,0),COLORFFF000;
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨');
DRAWTEXT(CROSS(短线,长线)AND 长线< 18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'争霸');
粘合星:DRAWTEXT(ABS(中线-长线)< 2 AND 中线>REF(中线,1),中线,'*');
中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
底:DRAWTEXT(CROSS(中线2,-90) AND (长线< 中线 AND 长线>REF(长线,1)OR 短线< 20 AND 中线< 20 AND 长线< 20),长线,'底'),COLORFF00FF;
IF(COUNT(CROSS(中线2,-90),12)=3,30,5);
IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100);
{-------------源码结束------------}

举报 使用道具

回复

0

关注

2

粉丝

688

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-23 08:57 , Processed in 0.478086 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.