原版在这里:http://www.fxjgsw.com/soft/sort013/sort05/down-136455.html {换手量能饱和} {副图}
VAR1:=EMA(CLOSE,20);
VAR2:=REF(VAR1,1);
廿日均线斜率:(VAR1-VAR2)/VAR2*100,NODRAW;
VAR3:=(HIGH+LOW+CLOSE)/3;
VAR4:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VAR5:=VAR4*(VAR3-MIN(CLOSE,OPEN));
VAR6:=VAR4*(MIN(OPEN,CLOSE)-LOW);
VAR7:=VAR4*(HIGH-MAX(OPEN,CLOSE));
VAR8:=VAR4*(MAX(CLOSE,OPEN)-VAR3);
VAR9:=25;
VAR10:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
VAR11:=11;
VAR12:=VOL/CAPITAL*100;
VAR13:=SUM(VAR12,VAR11);
VAR14:=100*(CLOSE-REF(CLOSE,VAR11))/REF(CLOSE,VAR11);
VAR15:=MA(CLOSE,13);
VAR16:=MA(CLOSE,75);
VAR17:=REF(CLOSE,1);
VAR18:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
VAR19:=SMA(VAR18,3,1);
VAR20:=3*VAR18-2*VAR19;
VAR21:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR22:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
VAR23:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR21,VAR22);
VAR24:=IF(VOL>=VAR23 AND PERIOD=5,VOL,VAR23);
VAR25:=VAR24/VOL;
VAR26:=DYNAINFO(23)*VAR25;
VAR27:=DYNAINFO(22)*VAR25;
VAR28:=MA(CLOSE,26)+2*STD(CLOSE,26);
VAR29:=EMA((INDEXC-LLV(INDEXL,11))/(HHV(INDEXH,25)-LLV(INDEXL,11))*4,8)+1;
VAR30:=POW(VAR29,2)-10;
VAR31:=EMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,25)-LLV(LOW,11))*4,8)+1;
VAR32:=IF(1=1,POW(VAR31,2)-10,DRAWNULL);
VAR33:=SUM(VAR12,3);
VAR34:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
VAR35:=CAPITAL*CLOSE;
VAR36:=REF(CLOSE,1);
VAR37:=SMA(MAX(CLOSE-VAR36,0),7,1)/SMA(ABS(CLOSE-VAR36),7,1)*100;
VAR38:=WINNER(CLOSE)*100;
VAR39:=100-VAR36;
VAR40:=ABS(VAR36-VAR37);
VAR41:=BACKSET(ISLASTBAR,1);
VAR42:=IF(EMA(CLOSE,3)>MAX(EMA(CLOSE,13),EMA(CLOSE,55)),1,IF(EMA(CLOSE,3)<MIN(EMA(CLOSE,13),EMA(CLOSE,55)),(-1),0));
DRAWBAND(100,RGB(50,50,0),0,RGB(0,0,0));
庄净入:IF(VAR5-VAR6>0,VAR5-VAR6,0)/10000,NODRAW,COLORRED;
庄净出:IF(VAR5-VAR6<0,VAR5-VAR6,0)/10000,NODRAW,COLORGREEN;
散净入:IF(VAR7-VAR8>0,VAR7-VAR8,0)/10000,NODRAW,COLORGREEN;
散净出:IF(VAR7-VAR8<0,VAR7-VAR8,0)/10000,NODRAW,COLORRED;
量能饱和度:IF(VAR10>1,1,VAR10)*100,NODRAW,COLORYELLOW;
预计换手:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,0),NODRAW;
十日换手平均:MA(VAR12,10),NODRAW;
活跃度:IF(DATE>1000101,(MA(VOL,11)+MA(VOL,11*2)+MA(VOL,11*3)+MA(VOL,11*4))/4/CAPITAL*1000,1),NODRAW;
STICKLINE(VAR41,VAR38,0,5,0),COLORRED;
STICKLINE(VAR41,VAR39,0,3,0),COLORYELLOW;
STICKLINE(VAR41,VAR40,0,1,0),COLORMAGENTA;
牛:IF(VAR42=1 AND VOL>1,12,0),COLORRED,LINETHICK4;
熊:STICKLINE(VAR42=(-1) AND VOL>1,0,4,2,0),COLORYELLOW;
马:STICKLINE(VAR42=0 AND VOL>1,0,4,2,0),COLORMAGENTA;
STICKLINE(VAR42=1 AND VOL>1,0,4,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=VAR9,30*1.9,30*1.5,100,1),COLOR00DDDD;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=VAR9,30*1.88,30*1.52,量能饱和度,0),COLOR0033FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=VAR9,30*1.82,30*1.58,量能饱和度,0),COLOR0077FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=VAR9,30*1.76,30*1.64,量能饱和度,0),COLOR0099FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=VAR9,30*1.7,30*1.7,量能饱和度,0),COLOR00DDFF;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=VAR9,30*1.88,30*1.52,量能饱和度,0),COLORFF7700;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=VAR9,30*1.82,30*1.58,量能饱和度,0),COLORFF9900;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=VAR9,30*1.76,30*1.64,量能饱和度,0),COLORFFBB00;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=VAR9,30*1.71,30*1.69,量能饱和度,0),COLORCYAN;
DRAWTEXT(VAR12<=2 AND ISLASTBAR,50,180);
DRAWTEXT(VAR12>2 AND VAR12<3 AND ISLASTBAR,50,181);
DRAWTEXT(VAR12>3 AND VAR12<5 AND ISLASTBAR,50,182);
DRAWTEXT(VAR12>5 AND VAR12<8 AND ISLASTBAR,50,183);
DRAWTEXT(VAR12>8 AND VAR12<15 AND ISLASTBAR,50,184);
DRAWTEXT(VAR12>15 AND VAR12<25 AND ISLASTBAR,50,185);
DRAWTEXT(VAR12>=25 AND ISLASTBAR,50,186);
DRAWTEXT(VAR13>3*VAR11 AND VAR14>3*VAR11 AND ISLASTBAR,30,187);
DRAWTEXT(VAR13<0.5*VAR11 AND VAR14<VAR11 AND ISLASTBAR,30,188);
DRAWTEXT(VAR13<0.5*VAR11 AND VAR14>(-VAR11) AND VAR14>0 AND ISLASTBAR,10,189);
DRAWTEXT(VAR13>3*VAR11 AND VAR14<(-3)*VAR11 AND ISLASTBAR,30,190);
DRAWTEXT(VAR13>3*VAR11 AND VAR14<VAR11 OR (VAR13<0.5*VAR11 AND VAR14>3*VAR11) OR (VAR13>3*VAR11 AND VAR14>(-VAR11) AND VAR14<0) OR (VAR13<0.5*VAR11 AND VAR14<(-3)*VAR11) AND ISLASTBAR,5,191);
STICKLINE(CURRBARSCOUNT=53,100,0,88,0),COLOR333344;
DRAWTEXT(VOL/CAPITAL>0.075 AND CURRBARSCOUNT=59,80,192),COLORCYAN;
DRAWTEXT(VAR34>0 AND CURRBARSCOUNT=59,90,193);
DRAWTEXT(VAR34<=0 AND CURRBARSCOUNT=59,90,194);
DRAWTEXT(CURRBARSCOUNT=59,60,195),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,50,196),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,40,197),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,20,198),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,10,199),COLORGREEN;
DRAWTEXT(活跃度>=41 AND ISLASTBAR,80,200),COLORGREEN;
DRAWTEXT(活跃度>20 AND 活跃度<=40 AND ISLASTBAR,80,201),COLORGREEN;
DRAWTEXT(活跃度<=20 AND ISLASTBAR,80,202),COLORGREEN;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!