分析家操盘线 //分析家操盘线
EMA20:=EMA(C,20);
PARTLINE(EMA20,C>EMA20,RGB(255, 48, 48),C<EMA20,RGB(34,139,34),1,RGB(0,0,255)),LINETHICK2;
EMA5:=EMA(C,5);
PARTLINE(EMA5,EMA5>EMA20,RGB(220,220,220),EMA5<EMA20,RGB(34,139,34),1,RGB (255,255,0)),LINETHICK1;
EMA10:=EMA(C,10);
PARTLINE(EMA10,EMA10>EMA20,RGB(238,238,0),EMA10<EMA20,RGB(34,139,34),1,RGB (255,255,0)),LINETHICK1;
EMA60:=EMA(C,60);
PARTLINE(EMA60,C>EMA60,RGB(205,0,205),C<EMA60,RGB(34,139,34),1,RGB(0,0,255)),LINETHICK1;
买:=C>EMA5 AND EMA5>EMA10 AND EMA5>EMA20 AND EMA10>EMA20;
卖:=C<EMA20 OR EMA5<EMA10 OR EMA10<EMA20;
震荡:=C<EMA5 AND C>EMA20;
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,CLOSE,9,1),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE<OPEN,OPEN,CLOSE,9,0),RGB(255, 48, 48);
STICKLINE(买>卖 AND CLOSE<OPEN,LOW,HIGH,0,0),RGB(255, 48, 48);
STICKLINE(买<卖 AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorligreen;
STICKLINE(买<卖 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,LOW,0,0),colorligreen;
STICKLINE(买<卖 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorligreen;
STICKLINE(买<震荡 AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorDCDCDC;
STICKLINE(买<震荡 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorDCDCDC;
STICKLINE(买<震荡 AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorDCDCDC;
STICKLINE(买<震荡 AND CLOSE>OPEN,OPEN,LOW,0,0),colorDCDCDC;
STICKLINE(买<震荡 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorDCDCDC;
PL10:=ZIG(3,7);
EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);
DRAWICON((EX2),H*1.0085,2);
DRAWICON((EN2),L*0.995,1);
STICKLINE(C,REF(L,BARSLAST(en2)),REF(L,BARSLAST(en2)),8,0),colorred;
STICKLINE(C,REF(H,BARSLAST(ex2)),REF(H,BARSLAST(ex2)),8,0),colorligreen;
PL20:=ZIG(3,20);
EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);
DRAWTEXT(EN3,L*0.98,'★【一买】',20),colormagenta,LINETHICK2;
DRAWTEXT(Ex3,H*1.02,'★【一卖】',20),coloryellow,LINETHICK2;
//DRAWLINE(EN2,L,EX2,H,0),COLOR34A6FA,LINETHICK2;
//DRAWLINE(EX2,H,EN2,L,0),,COLOR34A6FA,LINETHICK2;
//分析家公式网 www.fxjgsw.com
MA20:=MA(C,20);
BTma20:=(CLOSE>ma20) AND (REF(CLOSE,1)>REF(ma20,1)) AND (REF(CLOSE,2)>REF(ma20,2)) AND (REF(CLOSE,3)>REF(ma20,3));
vol120:=MA(VOL,120);
BTvol120:= (VOL > vol120) AND (REF(VOL,1) > REF(vol120,1)) AND (REF(VOL,2) > REF(vol120,2));
bb:=C>O AND REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1);
cc:= C>O AND REF(C,1)>REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,1)<REF(V,2);
dd:= C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,2)<REF(V,3);
ff:= C>O AND REF(C,1)>REF(O,1) AND REF(C,2)>REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)>REF(O,4) AND REF(O,3) <REF(C,4) AND V>REF(V,1) AND REF(V,2)<REF(V,3) AND REF(V,1)<REF(V,2);
gg:=C<REF(C,4) AND REF(C,1)<REF(C,4) AND REF(C,2)<REF(C,4) AND REF(C,3)<REF(C,4) AND REF(O,1)<REF(C,4) AND REF(O,2)<REF(C,4) AND REF(O,3)<REF(C,4) ;
ee:=(bb OR cc OR dd OR ff) AND BTvol120 AND BTma20 AND gg;
DRAWTEXT(ee,L,'↖短线洗盘',20),colorred;
aa:=REF(C,1)>REF(O,1) AND REF(V,1)>REF(V,2) AND C>O AND V>REF(V,1) AND BTma20 AND BTvol120;
DRAWTEXT(aa,L,'↖放量',20),coloryellow;
每股净资产:=TOSTRING('每股净资产:',1);
净资产值:=TOSTRING(MGJZC,2);
DRAWTEXT_FIX(ISLASTBAR,0.33,0.05,0,每股净资产),COLOR34A6FA;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.05,0,净资产值),COLOR34A6FA;
市净率:=TOSTRING('市净率:',1);
净值:=TOSTRING(CLOSE/MGJZC,2);
DRAWTEXT_FIX(ISLASTBAR,0.53,0.05,0,市净率),COLOR34A6FA;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.05,0,净值),COLOR34A6FA;
净资产收益率:=TOSTRING('净资收益率:',1);
收益率值:=TOSTRING(JLR/GDQYHJ*100,2);
DRAWTEXT_FIX(ISLASTBAR,0.33,0.08,0,净资产收益率),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.08,0,收益率值),colormagenta;
★EMA均线★:STRLEFT('EMA 5 10 20 60 ',50),COLOR34A6FA;
净利润增长:=TOSTRING('净利润增长:',1);
净利增值:=TOSTRING((JLR-REP(&JLR,2))/REP(&JLR,2)*100,2);
DRAWTEXT_FIX(ISLASTBAR,0.53,0.08,0,净利润增长),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.08,0,净利增值),colormagenta;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.88,0,BLOCK(0,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0.88,0,BLOCK(1,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.26,0.88,0,BLOCK(2,0)),COLOR34A6FA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.94,0,BLOCK(3,0)),COLOR34A6FA;
IF(PERIODNAME<>"日线")
{统计:"该指标只在日线周期下有效。";RETURN;}
RC1:=REF(C,1);
CS:=IF(C>=1,100000,100000);
C涨停5 :=1.05*RC1-49/CS;
C跌停10:=0.9006*RC1+51/CS;
C跌停5 :=0.9505*RC1+51/CS;
C涨停10:=1.098*RC1-49/CS;
ST:=NAMELIKE('S') OR NAMELIKE('*S');
涨停:= IF(ST, C>=C涨停5, C>=C涨停10);
跌停:= IF(ST, C<=C跌停5, C<=C跌停10);
STICKLINE(涨停,OPEN,CLOSE,6,0),RGB(205,0,205);
//STICKLINE(涨停,LOW,HIGH,0.6,0),colormagenta;
STICKLINE(跌停,OPEN,CLOSE,5,0),colorblue;
//STICKLINE(跌停,LOW,HIGH,0.5,0),colorblue;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!