公式是: 仅仅提供源码 操盘行家 {x3:STICKLINE( VAR3 , LOW*0.95,0 , -1,0 ),1,RGB(235,175,50);
x4:STICKLINE( VAR4 , HIGH*1.1,99999, -1, 0),1,COLORBLUE;} DRAWTEXT(CROSS(VAR1 ,VAR2 ),LOW*0.98,'B'),1,COLORRED; DRAWTEXT(CROSS(VAR2 ,VAR1),HIGH*1.02,'S'),1,COLORGREEN; FILLRGN(LOW*0.94,0,VAR3 ,RGB(235,175,50),0,0); FILLRGN(HIGH*1.08,99999,VAR4 ,COLORBLUE,0,0); 大道至简
N:=20; jj:=(HIGH+LOW+CLOSE)/3; qj0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN)))); qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj))); DDX:=((qj1+qj2)-(qj3+qj4))/SUM(VOL,60)*1; DX:=MA(ddx,5)*n; DDX1:=SMA(DX,3,1)*10; {只做红波段}
VAR1:EMA(CLOSE,13)-EMA(CLOSE,55); VAR2:EMA(VAR1,3); VAR3:=VAR1>VAR2; VAR4:=VAR1<VAR2; x1:STICKLINE(VAR3,VAR1,VAR2,-1,0),1,COLORRED; x2:STICKLINE(VAR4,VAR1,VAR2,-1,0),1,COLORGREEN; 进:DRAWICON(CROSS(VAR1,VAR2),VAR1,0),0,COLORRED; 出:DRAWICON(CROSS(VAR2,VAR1),VAR2,1),0,COLORGREEN; 定海神针
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); A2:=IF(CROSS(diff,dea) and diff > 0 and dea >0,0,1); 能量线:IF (A2,A1/10,A1/100); Var1:=EMA(MA(IF(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1); Var2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1); Var3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1); Var4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1); Var5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1); Var6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1); DX:=(Var1+Var2+Var3)/3/100; CX:=(Var4+Var5+Var6)/3/100; B1:=BARSLAST(REF(CROSS(DX,CX),1)); 买:IF (CROSS(DX,CX) AND 能量线 >0.5 and 能量线 < 2 and diff > REF(diff,1) AND B1 >5,0,-7); {卖:IF(A1>2 ,-7,0);} Sar1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; Sar2:=SMA(SMA(Sar1,3,1),3,1); Sar3:=EMA(Sar2,5); Sar4:=3*Sar2-2*Sar3; Sar5:=IF(Sar4 < REF(Sar4,1),1,0); buyp:=REF(CLOSE,BARSLAST(REF(买=0,1)))*1.07; buyk:=REF(CLOSE,BARSLAST(REF(买=0,1)))*0.9; buyd:=BARSLAST(REF(买=0,1)); 卖1:=IF( HIGH > buyp and 买=-7,1,0);{已获利} 卖2:=IF(Sar5 and 买=-7,1,0);{注意顶部} 卖3:=IF(buyd > 10 and 买=-7 ,1,0);{超出短线操作持股天数} 卖4:=IF(LOW < buyk and 买=-7,1,0);{听天由命吧~已亏损10%} x11:=买=0; x12:=卖1=1; a11:=BARSLAST(买=0);{买成立到现在的周期数} x13:=IF(卖1=1 Or 卖2=1 Or 卖3=1 Or 卖4=1,1,0); a12:=COUNT(x13=1,a11); s1:DRAWTEXT(卖1=1 and a12=2,1,'已获利'),0,COLORRED; s2:DRAWTEXT(卖1=0 and 卖2=1 and a12=2,1,'注意顶部'),0,COLORRED; s3:DRAWTEXT(卖1=0 and 卖2=0 and 卖3=1 and a12=2,1,'超出持股天数'),0,COLORRED; s4:DRAWTEXT(卖1=0 and 卖2=0 and 卖3=0 and 卖4=1 and a12=2,1,'止损'),0,COLORGREEN; 多空行家
Var2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; Var4:=SMA(Var3,13,8); 高抛: 90, POINTDOT; 低吸: 0, POINTDOT; 多方能量: SMA(Var4,13,8),0,COLORRED,0,4; 空方能量: SMA(Var2,21,8),0,COLORGREEN,0,4; 买进: IF(CROSS(多方能量,45),18,0-4); 卖出: IF(CROSS(45,多方能量),18,0-4); 强弱分界: 45, CIRCLEDOT; 动力行家
N 1 100 5 N1 1 100 10 MTM : CLOSE-REF(CLOSE,N); MTMMA : MA(MTM,N1); 估值行家
Var1:=LLV(LOW,144); 超低: 1.382*Var1; 低估: 1.809*Var1; 行业:2.213*Var1; 成长: 2.618*Var1; 垄断: 3.023*Var1; 行家力道
N 1 99 14 LC:=REF(CLOSE,1); 个股力道:(SMA(MAX(CLOSE-LC,0),N,1))/(SMA(ABS(CLOSE-LC),N,1))*100,0,RGB(0,255,0); CC:="1A0001$CLOSE"; LC1:=REF(CC,1); 大势力道:(SMA(MAX(CC-LC1,0),N,1))/(SMA(ABS(CC-LC1),N,1))*100,0,RGB(255,0,255); 强弱度:=个股力道-大势力道; FILLRGN(大势力道,个股力道,强弱度>=0,COLORRED,强弱度<0,COLORGREEN); {x1:STICKLINE(强弱度>=0,指数强弱,品种强弱,-1,1),0,COLORRED; x2:STICKLINE(强弱度<0,指数强弱,品种强弱,-1,1),0,COLORGREEN;} MA(个股力道,8); l20:20,0,RGB(255,0,255); l50:50,0,RGB(00,255,255); l80:80,0,RGB(0,255,0); A:AMOUNT/VOL*10; 群体恐慌
LC:=REF(CLOSE,1); LC1:=REF(CLOSE,1); 群体心理:((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC1)),5,1)) * 100),0,COLORRED,0,2; R:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); A:=SMA(R,3,1); B:=SMA(A,3,1); CCC:=(((B / 2) + 40) * 1.1); x1:SMA(CCC,3,1),0,COLORCYAN,1,1; 恐惧区间:STICKLINE(C,x1,100,8,1),1,COLORCYAN; DRAWICON(CROSS(x1,群体心理),群体心理,1); 群体贪婪
aa:=REF(CLOSE,1); bbb:=SMA(MAX(CLOSE-aa,0),5,1)/SMA(ABS(CLOSE-aa),5,1)*1000; hhh:=bbb-LLV(bbb,10); ss:=(MA(hhh,2)*3+hhh*13)/16; 抄底线:=IF(ss>13,MA(ss,2),ss); {21,CIRCLEDOT;} x轴:120,0,COLORWHITE,2,1; var1:=IF(抄底线>50,150,抄底线+100); VarA:=BARSCOUNT(CLOSE)*3.142/180; 群体扫描K线: SIN(VarA*8)*100+100,0,COLORRED,1,2 ; 群体扫描T线: COS(VarA*8)*100+100,0,COLORYELLOW,1,2; x1:STICKLINE(CROSS(var1,121),121,var1,0.2,0),1,RGB(255,00,00); x2:STICKLINE(CROSS(var1,121),121,var1,8,0),1 ,RGB(204,00,00); x3:STICKLINE(CROSS(var1,121),121,var1,7,0),1 ,RGB(204,00,51); x4:STICKLINE(CROSS(var1,121),121,var1,6,0),1 ,RGB(204,51,0); x5:STICKLINE(CROSS(var1,121),121,var1,5,0),1 ,RGB(204,51,102); x6:STICKLINE(CROSS(var1,121),121,var1,4,0),1 ,RGB(255,51,51); x7:STICKLINE(CROSS(var1,121),121,var1,3,0),1 ,RGB(255,51,102); x8:STICKLINE(CROSS(var1,121),121,var1,2,0),1 ,RGB(255,102,51); x9:STICKLINE(CROSS(var1,121),121,var1,1,0),1 ,RGB(255,102,102); 一览无遗 市值V:=C*CAPITAL*100/100000000; 股本g:=FINANCE(1)/10000; 流通L:=FINANCE(7)/10000; 市盈率LYR:=C/FINANCE(33); 市净率sjl:=C/FINANCE(34); 日换手率rhs:=VOL/CAPITAL*100; 净资产jzc:=FINANCE(34); 净资收益率syl:=FINANCE(37); 最新收益zxsy:=FINANCE(33); 每股公积金gjj:=FINANCE(18); 每股未分配wfp:=FINANCE(31); 主营净利润率:=FINANCE(21)/FINANCE(20)*100; 股东权益比:=FINANCE(36); jg:=BIGORDERP(1,3)-BIGORDERP(2,3); zl:=BIGORDERP(1,2)-BIGORDERP(2,2); jg5:=SUM(jg,5); zl5:=SUM(zl,5); 市值:DRAWTEXTABS(10,13,'流通市值:'+市值V+' '+'亿'),0,RGB(200,200,0); 股本:DRAWTEXTABS(140,13,'股本:'+股本g+' '+'亿'),0,RGB(220,200,0); 流通:DRAWTEXTABS(230,13,'流通:'+流通L+' '+'亿'),0,RGB(230,200,0); 市净率:DRAWTEXTABS(320,13,'市净率:'+市净率sjl+' '), |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!