一、公式内容:(我对原公式进行了全面的改进,只保留了原有骨架面貌和操盘的一些理念。原牛熊线优化改进为八线合一,操盘线改为3、5、8号线为操盘线,安全线改为25号线,增加了明日心理价,强弱红绿园点,短线不涨停出小人等指示。这个操盘系统是我五年扭亏为盈的经验总结和心灵感悟,要想对你有所帮助,成为你的经验,还须照着系统不断的复盘操练。仅作参考。另外对操盘纪律进行了严格规范。感谢原作者) 主图公式原码: ZW1:=(H+L+O+2*C)/5; ZW2:=(REF(H,1)+REF(L,1)+REF(O,1)+2*REF(C,1))/5; 明日突破价:=ZW1+H-L; 明日阻力价:=2*ZW1-L,NODRAW; 明日反转价:=ZW1-H+L; 明日支撑价:=2*ZW1-H,NODRAW, LINETHICK1; 明日心理价:(ZW1+明日突破价+明日阻力价+明日支撑价+明日反转价)/5,NODRAW,COLORWHITE; 缺口:=HIGH<REF(LOW,1) || LOW>REF(HIGH,1); DRAWTEXT(缺口,LOW,'缺'),COLOR00FFFF; STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW; BDGD:=C=HHV(C,13); GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1; 高点:=REF(C,GDSJ),COLORFF00FF,POINTDOT; 突破:=CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW; STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF; DRAWTEXT(突破,LOW,'T'),COLOR00FFFF; M:=(H+L+3*C+O)/6;M3:=MA(M,3);M7:=MA(M,7);M14:=MA(M,14);M21:=MA(M,21);M28:=MA(M,28); M35:=MA(M,35);M42:=MA(M,42);M49:=MA(M,49);M56:=MA(M,56);MH7:=MA(H,7);MH14:=MA(H,14); MH21:=MA(H,21);MH28:=MA(H,28);MH35:=MA(H,35);MH42:=MA(H,42);MH49:=MA(H,49);MH56:=MA(H,56); ML7:=MA(L,7);ML14:=MA(L,14);ML21:=MA(L,21);ML28:=MA(L,28);ML35:=MA(L,35);ML42:=MA(L,42); ML49:=MA(L,49);ML56:=MA(L,56); MZ:=(7*M7+14*M14+21*M21+28*M28+35*M35+42*M42+49*M49+56*M56)/252; 沧海行操盘线:EMA(C,3),COLORWHITE,LINETHICK1; 沧海行操盘线2:MA(C,5)COLORYELLOW,LINETHICK1; 沧海行操盘线3:MA(C,8),COLORRED,LINETHICK1; 沧海行安全线:MA(C,25),COLORGRAY,LINESTICK,LINETHICK1; 沧海行牛熊线:=MZ,COLORWHITE,CIRCLEDOT,LINETHICK1; DRAWICON(CROSS(沧海行操盘线,沧海行牛熊线),L*0.98,1); STICKLINE(C/REF(C,1)>1.095,C,O,1,0),COLORYELLOW; IF(沧海行操盘线3<=REF(沧海行操盘线3,1),沧海行操盘线3,DRAWNULL),COLORBLUE,LINETHICK2; IF(沧海行操盘线3>REF(沧海行操盘线3,1),沧海行操盘线3,DRAWNULL),COLORFF00FF,LINETHICK2; VAR1Q:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2Q:=REF(VAR1Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARDA:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARDA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARDA OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1Q; VAR1A:=REF(VAR1Q OR VAR2Q OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARDA; DRAWICON(FILTER(VAR1A=1,5),HIGH*1.03,12); DIVE:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13); CYR:=(DIVE/REF(DIVE,1)-1)*10; MACYR:=MA(CYR,5)/10; MA18:=MA(C,18); 魔力线:=(MA18>REF(MA18,1))CIRCLEDOT,COLORWHITE,LINETHICK1; 生变:IF(MACYR<CYR ,沧海行牛熊线,DRAWNULL),COLORYELLOW,CIRCLEDOT,LINETHICK2; 空仓:IF(CYR<MACYR ,沧海行牛熊线,DRAWNULL),COLORGREEN,CIRCLEDOT,LINETHICK2; 持仓:IF(CYR>MACYR AND 魔力线,沧海行牛熊线,DRAWNULL),CIRCLEDOT,COLORRED,,LINETHICK2; IF(MZ<=REF(MZ,1),MZ,DRAWNULL),COLORGREEN,CIRCLEDOT,LINETHICK2; PP1:=H>=MA(C,5)*(100+8)/100 AND NOT(C/REF(C,1)>1.095); PP2:=L*(100+20)/100<=MA(C,25); DRAWICON(PP1,H*1.02,15); {下面是含有未来函数的,通过实践检验,对操作在做对概率上有帮助,喜欢的加上} STICKLINE(CROSS(沧海行操盘线,沧海行牛熊线) AND BACKSET(CLOSE>沧海行操盘线,2) AND (沧海行操盘线>沧海行牛熊线) AND (CLOSE>沧海行牛熊线)AND COUNT(C/REF(C,1)>1.095,4)=1,OPEN,CLOSE,2,1),COLORYELLOW; STICKLINE(CROSS(沧海行安全线,沧海行操盘线) AND BACKSET(CLOSE<沧海行操盘线,2) AND (沧海行操盘线<沧海行安全线),OPEN,CLOSE,2,1)COLORGREEN; VARCA:=1=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)); VARD:=1=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)>=REF(ZIG(3,5),3)); N2:=7; LCA:=REF(CLOSE,1); XQ:=SMA(MAX(CLOSE-LCA,0),N2,1)/SMA(ABS(CLOSE-LCA),N2,1)*100,COLORYELLOW,LINETHICK1; 天使:=DRAWLINE(XQ>=HHV(XQ,N2),XQ,XQ<=LLV(XQ,N2),XQ,1),COLOR00FF00; 王子:=DRAWLINE(XQ>=HHV(XQ,N2),XQ,XQ<=LLV(XQ,N2),1,XQ),COLOR00FF00; TJ0:=XQ=王子; TJ1:=XQ=天使; TJ2:=XQ<REF(XQ,1); TJ3:=XQ>REF(1,XQ); JRS1:=DRAWICON(TJ1 AND TJ2 OR VARCA,XQ,1); JRS2:=DRAWICON(TJ0 AND TJ3,XQ,2); 连阴:=LAST(C<O,3,0); 缩量:=LAST(VOL<REF(VOL,1),1,0); 连阴缩量:=(REF(连阴,1)>0 AND REF(缩量,1)>0 AND C>0); J1:=AMOUNT/V/100,COLORWHITE; J2:=EMA(J1,10)COLORYELLOW; J3:=EMA(J1,20)COLOR567FF0,LINETHICK1; JQ:=J3>REF(J3,1) AND REF(J3,1)>REF(J3,2) AND J2>J3; 万能XG:=JQ AND 连阴缩量; DRAWICON(万能XG>0 OR VARCA,L*0.97,1); DRAWICON(FILTER(JRS2>0 OR VARD,1),H*1.01,2); 操作时注意结合量价研判,总结适合自已的操作经验,比如:相对低位,放量突破牛熊线,是买点。选股公式:XG:CROSS(C,MZ) AND C/REF(C,1)>1.095; 特别申明,公式中的所有信号,只有在上升趋势中成立,反之均是浮云。 ……………………………………………………………………………………………… 二、公式用法: 买进信号:系统发出买入信号买进。 卖出信号:系统发出卖出信号卖出。 红色操盘线:股价在操盘线上时,持有。 灰色安全线:当股价击穿安全线时,止损。 灰色阴影区:当股价运行此区域时,坚决清仓休息,静心等待下一次买进信号,绝不能在此区域持有股票! 牛熊分界线: 判断大势市场是所处的地位,在分界线上,是牛市,可以波段操作股票,在分界线下,大势已走熊,坚决远离这市场,等待下一次机会! 精准买卖,安全性高,波段稳定,持仓稳定,顺势而为,快速复利增长,适合超短线,短线,中线,长线,权证投资者使用操盘! 长线投资技巧: 利用系统的日K线,周K线,或月K线买卖信号作为交易信号.此周期组合跨越周期时间长,最大的特点是:当上升趋势非常明朗的时候才会发出,让你买在上涨波段,确保买在安全的时刻.此周期要求投资者有足够的耐心和时间等待信号,此周期不适宜抢反弹,也不适宜做短线! 中线投资技巧:利用系统的60分钟周期买卖信号作为交易信号.此周期组合的最大特点就是有效过滤股票短期急极波动信号,趋势非常好,买卖信号更准确!适合中线投资者使用! 短线投资技巧:利用系统的15分钟或30分钟周期买卖信号作为交易信号.此组合最大的特点就是波段性强,持仓稳定,安全性高,高抛低吸,波段操作,第一时间捕捉到刚启动的黑马个股,每波行情都可以一网打尽,同时更好保存收益,快速获利了结,使自己的资金更灵活更安全.每周收益5%-12%,成功率超过93%以上! 利用系统的15分钟周期买卖信号作为交易信号.此周期为权证投资的最佳周期,快速捕捉权证暴涨阶段,,高抛低吸,收益率惊人! 三、通用操盘纪律: 无论何时只做上升趋势,趋势为王,破掉牛熊线就只捂钱。 1.牛熊线上面操作,反之休息,不参与抄底、抢反弹。 2.破掉操盘线2减半(短线清仓),破掉安全线或牛熊线清仓,不找理由,照着做。 3.站上安全线半仓,站上牛熊线而且有效突破上个高点满仓。 4.牛熊线是波段趋势的中轴线,往下走(由高向低连续绿颜色)清仓,往上走满仓。注意高点和低点的变化。 5.不管牛市,还是熊市,跌破牛熊线,都清仓。因为牛市中卖错了,还可以买回来。 6.一个只有在多头市场操作的人,赚钱才是唯一的结果,股票的好歹,是赚多少的问题,而不是赚和赔的问题。 7.先观大盘,后看个股,大势不是多头市场,什么都不要买。大盘是空头市场,你再好的股票也必须清仓,更不要在空头市场追买强势股。 四、短线操盘要领 中期趋势向上持有底仓。交易系统采用高胜率的老自专用牛熊线操盘指标、量价关系、MACD、KDJ(优化的就是斩妖宝刀指标);交易纪律主要有趋势理论、支撑压力理论、心理价理论、开盘30分钟理论和收盘价理论、止损止盈理论。严格执行操盘指标系统和交易纪律,决不让亏损有任何扩大。 对于超短盈利目标,自然是越高越好,但是俺能力有限,目前能达到的高度是+3%,所以,俺的超短操作,每次操作都是依据+3%为止盈基本目标,冲高就止盈;至于止损线则无硬性规定,基本止损原则是依据均线结构和交易纪律来灵活处理,破线就止损,破买入价就止损,决不让亏损有任何扩大。 副图一公式原码:《量柱图》 VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,5)COLORYELLOW; MAVOL2:MA(VOLUME,60)COLORFF00FF; AA:=SUMBARS(VOL,CAPITAL); 天量:=IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*33/10 ),NODRAW; STICKLINE(天量,VOL,0,3,0),COLORRED; DRAWTEXT(天量,VOL+3000,'天'),COLORLIBLUE; 换手:VOL/CAPITAL*100; |:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2; STICKLINE(|,0,V,1,0),COLORGREEN; DRAWTEXT(|,VOL-3000,'降'),COLORGREEN; T:=DYNAINFO(8)>0; VO:=VOL=LLV(VOL,100) AND T; 地量柱:=T AND VO,COLORBLUE; STICKLINE(地量柱,0,V,1,0),COLORBLUE; DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE; BLZ:=VOL>REF(V,1)*1.9; BLZ1:=VOL<REF(LLV(VOL,13),1); BLZ2:=VOL<REF(LLV(VOL,55),1); STICKLINE(BLZ,0,V,1,0),COLORYELLOW; 倍量柱:BLZ,COLORYELLOW; DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6; HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36; HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O; 黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4; STICKLINE(黄金柱,0,V,1,0),COLORRED; DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED; 价涨量缩:|,COLORGREEN; FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0; STICKLINE(FLZ,0,V,1,0),COLORMAGENTA; 平量柱:FLZ,COLORMAGENTA; DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA; DRAWTEXT(ISLASTBAR,MAVOL1,'5日量线'), COLORYELLOW; DRAWTEXT(ISLASTBAR,MAVOL2,'60日量线'), COLORFF00FF; 波段逃顶术:九阴真经 ① 量柱三阴: 阴过阳,不要娘(当前阴柱超过此前阳柱); 阴并阳,宜空仓(当前阴柱并肩此前阳柱); 倍量阴,出干净(当前阴柱倍量此前阳柱)。 ② 量价三阴: 跳空阴,不要命(当前阴线跳离此前阳线); 阴盖阳,宜减仓(当前阴线长于此前阳线); 双阴露,往外吐(当前连续出现两根阴线)。 ③ 量线三阴: 阴破线,不要脸(当前阴线跌破重要量线如黄金线); 阴出头,赶快走(当前阴线跌破重要支撑如平衡线); 阴并阴,要当心(当前两根阴线并肩而立如双阴双柱)。 副图二《斩妖宝刀》(震荡市、熊市照妖斩妖) 公式原码: X:=EMA(C,2)-EMA(C,7); STICKLINE(X>0,0,-50,8,0),COLOR111233; STICKLINE(X<=0,0,-50,8,0),COLOR333311; 买牛区:IF(REF(X,1)<-0 AND X>0,0,-50),COLORRED; 卖牛区:=IF(REF(X,1)>=0 AND X<0,-50,0),COLORCYAN; VAR2N:=1; V1:=(MA(((100 * (CLOSE- LLV(CLOSE,34))) / (HHV(HIGH,34)- LLV(LOW,34))),5)- 20); V2:=(2 * ABS(V1)); 空方:(0 - (IF((V1 < 0),V2,0) * VAR2N))COLORGRAY,LINESTICK; LOWVK:=LLV(LOW,9); HIGHVK:=HHV(HIGH,9); RSVK:=EMA((CLOSE-LOWVK)/(HIGHVK-LOWVK)*100,3); KK:=EMA(RSVK,3)COLORWHITE; DK:=MA(KK,3)COLORYELLOW; RSVQ:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); KQ:=SMA(RSVQ,3,1)COLORWHITE; DQ:=SMA(KQ,3,1)COLORYELLOW; J:((3 * KQ) - (2 * DQ))COLOR9F5F9F; 顶:100,COLORFF00FF; 低位金叉跟进:20,COLOR567FF0,POINTDOT,LINETHICK1; 高位死叉小心:80,COLORGREEN,LINETHICK1; IF(J<0,J,DRAWNULL),COLORRED,LINETHICK3; IF(KK>90,KK,DRAWNULL),COLORGREEN,LINETHICK3; IF(DK>85,DK,DRAWNULL),COLORGREEN,LINETHICK3; DRAWTEXT(FILTER(COUNT(KK>90 OR DK>85 AND(CROSS(DK,KK)),12)=2,8)AND CROSS(DK,KK),DK+10,'已超买'),COLORGREEN; DRAWTEXT(FILTER(CROSS(DK,KK)AND NOT(DK<20) AND J>0.2,5),DK+0.09,'死叉卖,低位金叉前不买'); N2:=7; LCA:=REF(CLOSE,1); XQ:=SMA(MAX(CLOSE-LCA,0),N2,1)/SMA(ABS(CLOSE-LCA),N2,1)*100,COLORYELLOW,LINETHICK1; 魔鬼:=DRAWLINE(XQ>=HHV(XQ,N2),XQ,XQ<=LLV(XQ,N2),XQ,1),COLOR00FF00; 魔王:=DRAWLINE(XQ>=HHV(XQ,N2),XQ,XQ<=LLV(XQ,N2),1,XQ),COLOR00FF00; TJ0:=XQ=魔王; TJ1:=XQ=魔鬼; TJ2:=XQ<REF(XQ,1); TJ3:=XQ>REF(1,XQ); JRS1:=DRAWICON(TJ1 AND TJ2,XQ,1); JRS2:=DRAWICON(TJ0 AND TJ3,XQ,2); DRAWICON(FILTER(JRS2>0,1),98,2); MA5:=MA(C,5); MA8:=MA(C,8); MA24:=MA(C,24); MA72:=MA(C,72); Q1:=MA(V,5); Q2:=MA(V,50); Q:=Q1 > REF(Q1,1); VARC:=1=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)){AND (MA(C,5)-L)/L>0.1}; VARD:=1=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)>=REF(ZIG(3,5),3)){ AND (H-MA(C,5))/MA(C,5)>0.1}; STICKLINE((VARC=1),(-8),0,2,0),COLOR0000FF; STICKLINE((VARD=1),8,0,2,0),COLOR00FF00; N:=5; VARQ1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0; VARZ:=8,COLORGREEN,LINETHICK0; 上升在即:IF(CROSS(VARQ1,VARZ) AND (VARC OR REF(VARC,1) OR REF(VARC,2) ),60,0),STICK,COLORRED,LINETHICK3; 专吸庄血:IF(VARQ1<=8,25,0),STICK,COLORWHITE,LINETHICK2; DRAWICON(VARC ,-0.1,1); DRAWICON(COUNT(VARC,3)=1 AND 上升在即,-0.1,13); VARQ:=(CLOSE*2+HIGH+LOW)/4; SK1:= EMA(VARQ,13)-EMA(VARQ,21); SD1:= EMA(SK1,2); 短买:=CROSS(SK1,SD1); 备钱:=CROSS(ZIG(3,8),REF(ZIG(3,8),1)); 备短:=(短买 AND COUNT(备钱,2)>=1); DRAWICON(COUNT(VARC,3)=1 AND 备短,0,23); YK1:="MACD.DIF#MONTH"; YK2:="MACD.DEA#MONTH"; YK0:=CROSS(YK1,YK2) OR YK1>YK2; ZK1:="MACD.DIF#WEEK"; ZK2:="MACD.DEA#WEEK"; ZK0:=CROSS(ZK1,ZK2) OR ZK1>ZK2; RK1:="MACD.DIF#DAY"; RK2:="MACD.DEA#DAY"; RK0:=CROSS(RK1,RK2) OR RK1>RK2; RZYK:=RK0 AND ZK0 AND RK0; 魔力上翘:=20*(MA8>REF(MA8,1)),COLORLIBLUE,LINETHICK2; 魔力X:=MA24>REF(MA24,1) AND REF(MA24,1)>REF(MA24,2); 魔力X1:=MA72>REF(MA72,1)AND REF(MA72,1)>REF(MA72,2); BBI:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4; EBBI:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4; FF1:=EMA(C,3)>EMA(C,7) AND EMA(C,7)>EMA(C,21) AND EMA(C,21)>EMA(C,54); 主升浪:82*(BBI>EBBI AND FF1 AND RK1>RK2)POINTDOT COLORWHITE,LINETHICK4; 魔力操作区:80*(魔力上翘 AND REF(魔力上翘,1)) COLORBLUE,LINETHICK3; 魔力操作区1:78*( 魔力X OR 魔力上翘)POINTDOT COLORWHITE,LINETHICK4; DIVE:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13); CYR:=(DIVE/REF(DIVE,1)-1)*10; MACYR:=MA(CYR,5)/10; 魔力线:=(MA8>REF(MA8,1)),COLORWHITE,LINETHICK1; {CYR值} DIVE1:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13); CYR1:=(DIVE1/REF(DIVE1,1)-1)*100; CYR值:=CYR1<4 AND CYR1>0.1;{CYR峰值} {CYS峰值} CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13); CYS13:=(CLOSE-CYC13)/CYC13*100; CYS峰:=CYS13<18 ; {VR值} TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26); TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),26); TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26); VR:=100*(TH*2+TQ)/(TL*2+TQ); VR值:=VR<400;{VR峰值} {PSY值} PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100; PSY值:=PSY<82;{PSY峰值} {RSI峰值} LC:=REF(CLOSE,1); RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3); RSI峰:=MMS<90; {VRSI峰值} VLC:=REF(VOL,1); VRSI:=SMA(MAX(VOL-VLC,0),7,1)/SMA(ABS(VOL-VLC),7,1)*100; VRSI峰:=VRSI<82; {BIAS值乖离率} BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS24:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; BIAS值:=BIAS12<25 AND BIAS24<32;{BIAS峰值} 换手1:=V/CAPITAL*100>1.5 AND DYNAINFO(8)>0;{换手率不能太小} {峰值限制} -50; 峰值限制:-50*(CYR值 AND CYS峰 AND VR值 AND PSY值 AND BIAS值 AND RSI峰 AND VRSI峰 AND 换手1),COLORGREEN,LINETHICK2; {指标值要求}; 变仓:IF(MACYR<CYR ,0,DRAWNULL),COLORYELLOW,LINETHICK2; 空仓:IF(CYR<MACYR ,0,DRAWNULL),COLORGREEN,LINETHICK2; 持仓:IF(CYR>MACYR AND 魔力线,0,DRAWNULL),COLORRED,,LINETHICK2; |
|