操盘主图 源码 NN:=120; 下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RRRSV:=SMA(下档线,3,1); KKK:=SMA(RRRSV,3,1); DDDDD:=((3 * RRRSV) - (2 * KKK)); JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(JJ12,3,1); K24:=SMA(RSV24,3,1); D24:=((3 * RSV24) - (2 * K24)); 压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF; 底部:=LLV(HIGH,30),COLOR00FF00; 压力位:=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW; 底部位:=IF(ISLASTBAR,底部,DRAWNULL),NODRAW; 底0:=CONST(底部); JRH:=HHV(C,2); JRL:=LLV(C,2); MA3:=MA(CLOSE,3); YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; R01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); R02:=(REF(R01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R03:=(REF(R02,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R04:=(REF(R03,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R05:=(REF(R04,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R06:=(REF(R05,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R07:=(REF(R06,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R08:=(REF(R07,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R09:=(REF(R08,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RA:=(REF(R09,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R01; R1A:=((REF(R01 OR R02 OR R03 OR R04 OR R05 OR R06 OR R07 OR R08 OR R09 OR RA OR RB OR RC,1)) AND RD); VAR03:=IF(C<200 ,MA(COST(80),3),2500),NODRAW; VAR04:=(((HIGH + LOW) + CLOSE) / 3); VAR05:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330); VAR06:=(VAR05 + ((VAR05 * 6) / 100)); 短买春:=R19,NODRAW,COLOR00DD00; 秋离场:=R1A,NODRAW,COLOR2288EE; 红持股:=R01 OR R02 OR R03 OR R04 OR R05 OR R06 OR R07 OR R08 OR R09 OR RA OR RB OR RC,NODRAW,COLOR0000FF; 阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,NODRAW,COLOR999999; 急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW; 离场:=IF(红持股,JRL,DRAWNULL); 明离场价:=离场,COLORFF99FF,NODRAW; 今离场价:=REF(离场,1)COLOR0000FF,NODRAW; 进:=IF(阴观望,JRH,DRAWNULL); 明进场价:=进,COLOR33AACC,NODRAW; 今进场价:=REF(明进场价,1),COLOR00FF00,NODRAW; 大雪:=MA((((HIGH + LOW) + CLOSE) / 3),8); 无痕:=MA((((HIGH + LOW) + CLOSE) / 3),21); VAR111:=EMA(((OPEN + CLOSE) / 2),26); VAR222:=IF(C<200 , MA(COST(30),3),2300),NODRAW; 天下有雪:=IF(C<200 ,MA(COST(50),3),2300); 严冬:=ISLASTBAR AND (VAR04 > 0.1),COLORFFFFFF,NODRAW; 早春:=ISLASTBAR AND (((((VAR04 < 天下有雪) AND (VAR04 > 无痕)) OR ((VAR04 < VAR05) AND (VAR04 > 无痕))) OR ((VAR04 > 无痕) AND (VAR111 > 无痕)))),COLOR00FF00,NODRAW; 初夏:=ISLASTBAR AND ((((((VAR04 > 天下有雪) AND (VAR04 > VAR111)) AND (VAR04 > VAR05)) AND (VAR222 > REF(VAR222,1))) OR ((((VAR04 > VAR222) AND (VAR04 > VAR111)) AND (VAR04 > VAR05)) AND (VAR222 > REF(VAR222,1))))), COLOR0000FF,NODRAW; 深秋:=ISLASTBAR AND (((((VAR04 > VAR06) AND (VAR04 > VAR03)) AND (大雪 > 无痕)) AND (VAR111 > REF(VAR111,1)))),COLOR00FFFF,NODRAW; SAAA:=(3*C+H+L+O)/6; SVAR1:=(8*SAAA+7*REF(SAAA,1)+6*REF(SAAA,2) +5*REF(SAAA,3)+4*REF(SAAA,4)+3*REF(SAAA,5)+2*REF(SAAA,6)+REF(SAAA,8))/36; SVAR2:=(HHV(SVAR1,5)+HHV(SVAR1,10)+HHV(SVAR1,20))/3; SVAR3:=(LLV(SVAR1,5)+LLV(SVAR1,10)+LLV(SVAR1,20))/3; SVAR4:=(HHV(SVAR2,5)+HHV(SVAR2,10)+HHV(SVAR2,20))/3; SVAR5:=(LLV(SVAR3,5)+LLV(SVAR3,10)+LLV(SVAR3,20))/3; SVAR6:=(LLV(SVAR1,2)+LLV(SVAR1,4)+LLV(SVAR1,6))/3; Q1:=CONST(IF(短买春,0,IF(秋离场,150,IF(红持股,200,IF(急速超跌关注,150,100))))),NODRAW; Q2:=CONST(IF(短买春,80,IF(秋离场,100,IF(红持股,0,IF(急速超跌关注,150,100))))),NODRAW; Q3:=CONST(IF(短买春,0,IF(秋离场,20,IF(红持股,70,IF(急速超跌关注,150,100))))),NODRAW; DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,50,50),0,' ',0); DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COLORYELLOW; 生命线30日:EMA(C,30),COLORYELLOW,LINETHICK4; 红升:IF(生命线30日>REF(生命线30日,1),生命线30日,DRAWNULL),COLORRED,LINETHICK4; 绿降:IF(生命线30日<REF(生命线30日,1),生命线30日,DRAWNULL),COLOR009300,LINETHICK4; 趋势55日线:EMA(C,55),COLORYELLOW,LINETHICK1,NODRAW; 红升4:IF(趋势55日线>REF(趋势55日线,1),趋势55日线,DRAWNULL),COLOR0080FF,LINETHICK1; 绿降4:IF(趋势55日线<REF(趋势55日线,1),趋势55日线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1; 半年线:EMA(C,120),COLORYELLOW,LINETHICK1,NODRAW; 半年红升:IF(半年线>REF(半年线,1),半年线,DRAWNULL),COLORFFFFFF,LINETHICK1; 半年绿降:IF(半年线<REF(半年线,1),半年线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1; 年线:EMA(C,250),COLORYELLOW,LINETHICK1,NODRAW; 年红升:IF(年线>REF(年线,1),年线,DRAWNULL),COLOR8000FF,LINETHICK1; 年绿降:IF(年线<REF(年线,1),年线,DRAWNULL),COLORFFFF00,DOTLINE,LINETHICK1; R1:=(C+L+H)/3; R2:=EMA(R1,6); R3:=EMA(R2,5); N:=5; M1:=6; M2:=6; M3:=8; R:=IF(DATE<1910612,1,0); EE:=(H+MAX(C,O))/2; EE1:=MA(EE,3); EE2:=(L+MIN(C,O))/2; EE3:=MA(EE2,3); 超短生命线:MA(EE,3),COLORWHITE; 红升1:IF(超短生命线>REF(超短生命线,1),超短生命线,DRAWNULL),COLORRED,LINETHICK1; 绿降1:IF(超短生命线<REF(超短生命线,1),超短生命线,DRAWNULL),COLORFFFF00,LINETHICK1,DOTLINE; FF:=(H+L+C+O)/4,COLORWHITE; FF1:=MA(FF,3),COLORGREEN; FF3:=REF((C+O)/2,1)>REF((C+O)/2,2) AND REF(MIN(C,O),1)>REF(MAX(C,O),2); 实际乖离:=(MAX(FF,FF1)-MIN(FF,FF1))/MIN(FF,FF1)*100,LINETHICK; FF4:=(((FF1-(REF(FF1,1)-FF1))-L)/L)*100; FF5:=(((EE1+(EE1-REF(EE1,1)))-L)/L)*100; FF6:=FF1-(REF(FF1,1)-FF1); FF7:=EE1+(EE1-REF(EE1,1)); 期望获利率:=IF(FF3,FF5,FF4),LINETHICK; YY1:=REF(EVERY(C>=O,4),1) AND REF(EVERY((C+O)/2>FF1,4),1) AND (C+O)/2<FF1; YY2:=NOT(YY1) AND (FF1-O)/O*1000>5 AND O<REF(MIN(C,O), |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!