主力监控师指标公式源码[同花顺公式]
相关标签: 机构监控指标详解 、 主力追踪线源码 、 通信达 机构监控指标 、 最好主力资金异动指标 、 通达信资金净流入指标 、 主力控盘指标公式源码 、 东方财富机构监控指标公式 、 通达信主力资金指标公式 、 主力监测信号塔指标源码 、 通达信主力资金流向 、 通达信指标公式大全 、 通达信主力资金介入公式 、
主力仓位下行股票涨,主力仓位上行股票跌,红买绿卖的箭头指示!
红买绿卖关注主力仓位
原理解析:
源码:
☆☆☆☆☆:STKNAME,coloryellow;VAR2:=1/WINNER(CLOSE);VAR3:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,15,1);VARB:=3*VAR9-2*SMA(VAR9,15,1);VARC:=100-VARB;主力仓位:= (100-VARA),color0000FF,LINETHICK2;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);买:IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK2;DRAWTEXT(买,50,'买 '),colormagenta;V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(头部>REF(头部,1),50,0),colorgreen,LINETHICK2;DRAWTEXT(卖,50,'顶 '),colorgreen;V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORFF00FF,LINETHICK2; DRAWTEXT(买,40,'底 '),COLORFF00FF;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);机构操盘力度:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),coloryellow,LINETHICK2;VE:=REF(LOW,1)*0.9;VF:=LOW*0.9;V10:=(VF*VOL+VE*(SHGZG-VOL))/SHGZG;V11:=EMA(V10,30);V12:=V11-CLOSE;V13:=REF(CLOSE,1);V14:=SMA(MAX(CLOSE-V13,0),7,1)/SMA(ABS(CLOSE-V13),7,1)*100;V15:=SMA(MAX(CLOSE-V13,0),13,1)/SMA(ABS(CLOSE-V13),13,1)*100;V16:=BARSCOUNT(CLOSE);V17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;V18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;V19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,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(HIGH,30)-CLOSE)/CLOSE*100;V20:=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;STICKLINE(V20,0,80,0,0),colorred,LINETHICK4;V1:=MA(100*(C-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;V2:=2*ABS(V1);//www.cxh99.comV3:=(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));V4:=(100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1));STICKLINE(REVERSE(-1*V3)<=REF(REVERSE(-1*V4),1),REVERSE(-1*V3),REVERSE(-1*V4),8,0),colorred;STICKLINE(REVERSE(-1*V3)>REF(REVERSE(-1*V4),1),REVERSE(-1*V3),REVERSE(-1*V4),8,0),colorwhite;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容