VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
黄探底震仓:IF(VAR2,10,DRAWNULL),colorred,LINETHICK5;
红买: IF(VAR2>VAR3,10,DRAWNULL),coloryellow,LINETHICK5;
蓝卖: IF(VAR2<VAR3,10,DRAWNULL),colorblue,LINETHICK5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*150;
上穿买:SMA(RSV,3,1),colorred;
趋势线:SMA(上穿买,3,1),COLORFFFF00;
VAR03:=PEAKBARS(3,15,1)<10;
VAR05:=IF(VAR03=1,2,0);
顶:=IF(VAR05=2,2,0),colorblue,LINETHICK2;
必买: IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,- 1),coloryellow ,LINETHICK2;
必卖: IF(PEAKBARS(3,15,1)=1,80,100),colorgreen,LINETHICK2;
上证_涨家数:"999999$INDEXADV";
上证_跌家数:"999999$INDEXDEC";
深证_涨家数:"399001$INDEXADV";
深证_跌家数:"399001$INDEXDEC";
中小板_涨家数:"399005$INDEXADV";
中小板_跌家数:"399005$INDEXDEC";
INDEXDEC="999999$INDEXDEC";
跌家数:INDEXDEC,colorgreen,NODRAW;
DRAWICON(CROSS(红买,蓝卖),红买,2);
DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
散户:= 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
散户:= 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力:=EMA(J,6),coloryellow;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8)),colorred,LINETHICK2;
AA6:=SMA(AA3,21,8);
DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),0.1*走势,1);
STICKLINE(走势-AA6>85,98,90,5,1),COLORFFFF00;
STICKLINE(VAR9>-120,50,50+(VAR9/2),8,1),colorred;
节奏:EMA(EMA(RSV1,7),7)*8,LINETHICK0,colorred;
STICKLINE(节奏>=0 AND 节奏>=REF(节奏,1),50,50+节奏,2.5,0),COLORDD55CC;
STICKLINE(节奏>=0 AND 节奏<=REF(节奏,1),50,50+节奏,2.5,1),COLORDD55CC;
STICKLINE(节奏<=0 AND 节奏>=REF(节奏,1),50,50+节奏,2.5,1),COLOR00D080;
STICKLINE(节奏<=0 AND 节奏<=REF(节奏,1),50,50+节奏,2.5,0),COLOR00D080;
K线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)) *100,LINETHICK1,colorgreen;
散户线:散户,COLORFFFFFF,LINETHICK1;
主力线:主力,coloryellow;
走势线:走势,colorred,LINETHICK1;
关注低买:IF(90>散户 AND CROSS(90,散户) ,98,0),colormagenta,STICK,LINETHICK0;
{高抛低吸:IF(散户<10 AND CROSS(10,散户) ,20,0),colorgreen,STICK,NODRAW;}
风险:COUNT(RSI1>80,3)=3 AND CROSS(RSI2,79.5),LINETHICK0;
观注顶:(散户<8 AND 主力>90 AND 走势>90 AND 节奏<=REF(节奏,1) AND 散户线),colorgreen,LINETHICK0;
DRAWTEXT(观注顶,-1,'◆'),colorgreen;
DRAWTEXT(风险,95,'←风险'),COLOR00FFFF;
STICKLINE(关注低买,0,100,0,-1),colormagenta;
{STICKLINE(高抛低吸,0,100,0,-1),colorgreen;};
DRAWICON(CROSS(k线,主力线)AND CROSS(k线,走势线)AND(k线>20),k线,1);
DRAWICON(CROSS(走势线,k线),走势线,2);
DRAWICON(CROSS(节奏,散户线)AND(k线<20),k线,2);
DC:=(2*CLOSE+HIGH+LOW+OPEN)/5;
EMDC:=EMA(EMA(EMA(DC,4),4),4);
AA:= (EMDC-REF(EMDC,1))/REF(EMDC,1)*100, ;
BA:= MA(AA,2),NODRAW;
机构:(AA-BA)*30000+40000,NODRAW;
CC:=EMA(CLOSE,5)-EMA(CLOSE,55),NODRAW;
DD:=EMA(CC,10),NODRAW;
敢死队:(CC-DD)*20000+20000,NODRAW;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
黄探底震仓:IF(VAR2,10,DRAWNULL),coloryellow,LINETHICK5;
红买: IF(VAR2>VAR3,10,DRAWNULL), colorred,LINETHICK5;
蓝卖: IF(VAR2<VAR3,10,DRAWNULL),colorblue,LINETHICK5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*150;
上穿买:SMA(RSV,3,1),colorred;
趋势线:SMA(上穿买,3,1),COLORFFFF00;
VAR03:=PEAKBARS(3,15,1)<10;
VAR05:=IF(VAR03=1,2,0);
顶:=IF(VAR05=2,2,0),colorblue,LINETHICK2;
必买: IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,-1),coloryellow ,LINETHICK2;
必卖: IF(PEAKBARS(3,15,1)=1,80,100),colorgreen,LINETHICK2;
上证_涨家数:"999999$INDEXADV";
上证_跌家数:"999999$INDEXDEC";
深证_涨家数:"399001$INDEXADV";
深证_跌家数:"399001$INDEXDEC";
中小板_涨家数:"399005$INDEXADV";
中小板_跌家数:"399005$INDEXDEC";
INDEXDEC="999999$INDEXDEC";
跌家数:INDEXDEC,colorgreen,NODRAW;
DRAWICON(CROSS(红买,蓝卖),红买,2);
DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!