《弈神大户室机构版》指标
-
相关简介:一个财经论坛,2个会员为了都说公布源码,但是都要顶的500楼!!!天啊,还互相攻击!理想的规定就好!我刚来,呵呵,也为了要顶帖,还被千钧老大把帖子该删除了!!!!恩,我看理想这条版规不错!!!我顶。呵呵,废话不说了。 另祝大家五一快乐,希望下载的朋友多多顶贴,让更多的人看见!!谢谢 。。。。。没注明的全为主图公式。。。。。。。。。。。 财富分水岭 C/C++ Code 复制内容到剪贴板 布林:=HHV(HHV(L,14),60); 阻力区:=EMA(EMA(布林,16)-2*STD(布
-
文章来源:择股网作者:股海网发布时间:2009-09-02浏览次数:
一个财经论坛,2个会员为了都说公布源码,但是都要顶的500楼!!!天啊,还互相攻击!理想的规定就好!我刚来,呵呵,也为了要顶帖,还被千钧老大把帖子该删除了!!!!恩,我看理想这条版规不错!!!我顶。呵呵,废话不说了。
另祝大家五一快乐,希望下载的朋友多多顶贴,让更多的人看见!!谢谢 。。。。。没注明的全为主图公式。。。。。。。。。。。
财富分水岭
C/C++ Code复制内容到剪贴板
- 布林:=HHV(HHV(L,14),60);
- 阻力区:=EMA(EMA(布林,16)-2*STD(布林,16),3);
- 阻力区1:=EMA(EMA(布林,14)+2*STD(布林,14),18);
- DRAWBAND(阻力区,RGB(241,241,247),阻力区1,RGB(241,241,247));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- ZA1:=EMA(C,25);
- ZA2:=EMA(ZA1,45);
- ZB1:=EMA(C,65);
- ZB2:=EMA(ZB1,45);
- DIFF:=(ZA1+ZB2)/2;
- DEA:=(ZA2+ZB1)/2;
- KA0:=(HHV(C,45)-LLV(C,45))/45;
- KA1:=SMA(C,3,1);
- KA2:=SMA(C-KA0*3,3,1);
- KA3:=SMA(KA1-KA0*3,3,1);
- SC:=100*(CLOSE-MA(CLOSE,80));
- SC1:=EMA(SC,5);
- SC2:=EMA(SC,21);
- 长期策略:SC1>=SC2,NODRAW;
- 次级策略:DIFF>=DEA,NODRAW;
- 短期策略:KA2>=KA3,NODRAW;
- 短期拐点:REF(短期策略,1)=0 AND 短期策略=1,NODRAW;
- 长期趋势:ZB2,COLORYELLOW,LINETHICK3;
- 次级趋势:DIFF,NODRAW;
- 短期趋势:KA2,NODRAW;
- IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK3,COLORRED;
- IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
- IF(KA2>=KA3,KA2,DRAWNULL)COLORMAGENTA,LINETHICK3;
- IF(KA2<KA3,KA2,DRAWNULL),LINETHICK1,COLORGREEN;
- CSAR:=SAR(10,2,20);
- 持股:=IF(CSAR<=L,CSAR,0);
- 涅磐:=EMA(SLOPE(C,21)*20+C,42);
- 般若:=EMA(C,5);
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+80/1000);
- 买入:=XMA(VAR1,32)*(1-100/1000);
- 菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
- 开悟:=IF(般若>=REF(般若,1),般若,DRAWNULL);
- 抛物线转向:=CROSS(L,CSAR) AND 开悟>0 AND H<菩提 AND 持股>0 AND H>涅磐;
- DRAWICON(抛物线转向,(H),16);{趋势底};
- 般:=XMA(CLOSE,7);
- 若:=MEMA(CLOSE,3);
- 趋势延伸:=短期拐点 AND 菩提>H AND NOT(抛物线转向);
- DRAWICON(趋势延伸,H,4);
- DRAWICON(LONGCROSS(若,般,3) AND H>菩提,H,19);
- DRAWICON(BARSLAST(LONGCROSS(若,般,3) AND H>菩提)=1,H,2);
C/C++ Code复制内容到剪贴板
- T+0主⑤
- 布林:=HHV(HHV(L,14),60);
- 阻力区:=EMA(EMA(布林,16)-2*STD(布林,16),3);
- 阻力区1:=EMA(EMA(布林,14)+2*STD(布林,14),18);
- DRAWBAND(阻力区,RGB(241,241,247),阻力区1,RGB(241,241,247));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- ZA1:=EMA(C,25);
- ZA2:=EMA(ZA1,45);
- ZB1:=EMA(C,65);
- ZB2:=EMA(ZB1,45);
- DIFF:=(ZA1+ZB2)/2;
- DEA:=(ZA2+ZB1)/2;
- KA0:=(HHV(C,45)-LLV(C,45))/45;
- KA1:=SMA(C,3,1);
- KA2:=SMA(C-KA0*3,3,1);
- KA3:=SMA(KA1-KA0*3,3,1);
- SC:=100*(CLOSE-MA(CLOSE,80));
- SC1:=EMA(SC,5);
- SC2:=EMA(SC,21);
- 长期策略:SC1>=SC2,NODRAW;
- 次级策略:DIFF>=DEA,NODRAW;
- 短期策略:KA2>=KA3,NODRAW;
- 短期拐点:REF(短期策略,1)=0 AND 短期策略=1,NODRAW;
- 长期趋势:ZB2,COLORYELLOW,LINETHICK3;
- 次级趋势:DIFF,NODRAW;
- 短期趋势:KA2,NODRAW;
- IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK3,COLORRED;
- IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
- IF(KA2>=KA3,KA2,DRAWNULL)COLORMAGENTA,LINETHICK3;
- IF(KA2<KA3,KA2,DRAWNULL),LINETHICK1,COLORGREEN;
- CSAR:=SAR(10,2,20);
- 持股:=IF(CSAR<=L,CSAR,0);
- 涅磐:=EMA(SLOPE(C,21)*20+C,42);
- 般若:=EMA(C,5);
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+13/1000);
- 买入:=XMA(VAR1,32)*(1-21/1000);
- 菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
- 开悟:=IF(般若>=REF(般若,1),般若,DRAWNULL);
- 抛物线转向:=CROSS(L,CSAR) AND 开悟>0 AND H<菩提 AND 持股>0 AND H>涅磐;
- DRAWICON(抛物线转向,(H),16);{趋势底};
- 般:=XMA(CLOSE,7);
- 若:=MEMA(CLOSE,3);
- 趋势延伸:=短期拐点 AND 菩提>H AND NOT(抛物线转向);
- DRAWICON(趋势延伸,H,4);
- DRAWICON(LONGCROSS(若,般,3) AND H>菩提,H,19);
- DRAWICON(BARSLAST(LONGCROSS(若,般,3) AND H>菩提)=1,H,2);
C/C++ Code复制内容到剪贴板
- T+0主①
- 布林:=HHV(HHV(L,14),60);
- 阻力区:=EMA(EMA(布林,16)-2*STD(布林,16),3);
- 阻力区1:=EMA(EMA(布林,14)+2*STD(布林,14),18);
- DRAWBAND(阻力区,RGB(241,241,247),阻力区1,RGB(241,241,247));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- ZA1:=EMA(C,25);
- ZA2:=EMA(ZA1,45);
- ZB1:=EMA(C,65);
- ZB2:=EMA(ZB1,45);
- DIFF:=(ZA1+ZB2)/2;
- DEA:=(ZA2+ZB1)/2;
- KA0:=(HHV(C,45)-LLV(C,45))/45;
- KA1:=SMA(C,3,1);
- KA2:=SMA(C-KA0*3,3,1);
- KA3:=SMA(KA1-KA0*3,3,1);
- SC:=100*(CLOSE-MA(CLOSE,80));
- SC1:=EMA(SC,5);
- SC2:=EMA(SC,21);
- 长期策略:SC1>=SC2,NODRAW;
- 次级策略:DIFF>=DEA,NODRAW;
- 短期策略:KA2>=KA3,NODRAW;
- 短期拐点:REF(短期策略,1)=0 AND 短期策略=1,NODRAW;
- 长期趋势:ZB2,COLORYELLOW,LINETHICK3;
- 次级趋势:DIFF,NODRAW;
- 短期趋势:KA2,NODRAW;
- IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK3,COLORRED;
- IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
- IF(KA2>=KA3,KA2,DRAWNULL)COLORMAGENTA,LINETHICK3;
- IF(KA2<KA3,KA2,DRAWNULL),LINETHICK1,COLORGREEN;
- CSAR:=SAR(10,2,20);
- 持股:=IF(CSAR<=L,CSAR,0);
- 涅磐:=EMA(SLOPE(C,21)*20+C,42);
- 般若:=EMA(C,5);
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+8/1000);
- 买入:=XMA(VAR1,32)*(1-8/1000);
- 菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
- 提菩:=买入+(卖出-买入)*1/2;
- 开悟:=IF(般若>=REF(般若,1),般若,DRAWNULL);
- 抛物线转向:=CROSS(L,CSAR) AND 开悟>0 AND H<菩提 AND 持股>0 AND H>涅磐;
- DRAWICON(抛物线转向,(H),16);{趋势底};
- 般:=XMA(CLOSE,7);
- 若:=MEMA(CLOSE,3);
- 趋势延伸:=短期拐点 AND 菩提>H AND NOT(抛物线转向);
- DRAWICON(趋势延伸,H,4);
- DRAWICON(LONGCROSS(若,般,3) AND H>提菩,H,19);
- DRAWICON(BARSLAST(LONGCROSS(若,般,3) AND H>提菩)=1,H,2);
C/C++ Code复制内容到剪贴板
- 研大盘(附图)
- 量能博弈:=C>REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
- 正向博弈平台:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)+1),NODRAW;
- 量能博弈平台上:=REF(HIGH,BARSLAST(量能博弈)+1);
- 量能博弈平台下:=REF(LOW,BARSLAST(量能博弈)+1);
- 博弈:=C<REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
- 博弈平台A:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈)-1);
- 博弈平台B:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈));
- 反向博弈平台:MIN(博弈平台A,博弈平台B),NODRAW;
- 博弈平台上A:=REF(HIGH,BARSLAST(博弈)-1);
- 博弈平台上B:=REF(HIGH,BARSLAST(博弈));
- 博弈平台上:=MIN(博弈平台上A,博弈平台上B);
- 博弈平台下A:=REF(LOW,BARSLAST(博弈)-1);
- 博弈平台下B:=REF(LOW,BARSLAST(博弈));
- 博弈平台下:=MIN(博弈平台下A,博弈平台下B);
- {----------------------------------------------------------}
- 筹码分布:=V=HHV(V,100);
- 异动博弈平台:REF((H+L+3*C)/5,BARSLAST(筹码分布)),NODRAW;
- 异动成本上限:=REF(H,BARSLAST(筹码分布));
- 异动成本下限:=REF(L,BARSLAST(筹码分布));
- 资金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(筹码分布);
- 资金博弈平台:REF((H+L+3*C)/5,BARSLAST(资金分布)),NODRAW;
- 台上:=REF(H,BARSLAST(资金分布));
- 台下:=REF(L,BARSLAST(资金分布));
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+55/1000);
- 买入:=XMA(VAR1,32)*(1-100/1000);
- {买:CROSS(买入,LOW),NODRAW;
- 卖:CROSS(HIGH,卖出),NODRAW;}
- {----------------------------------------------------------}
- DRAWBAND(量能博弈平台上,RGB(248,242,242),量能博弈平台下,RGB(248,242,242));
- DRAWBAND(博弈平台上,RGB(70,177,63), 博弈平台下,RGB(70,177,63));
- DRAWBAND(异动成本上限,RGB(250,249,8),异动成本下限,RGB(250,249,8));
- DRAWBAND(台上,RGB(114,2,4),台下,RGB(114,2,4));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- 高抛线:卖出,COLORGREEN,LINETHICK2;
- 低吸线:买入,COLORMAGENTA,LINETHICK2;
- 风险:100*(L-买入)/买入,NODRAW;
- 幅度:100*(卖出-买入)/买入,NODRAW;
- MA1:=MA(VAR1,3);
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLOR007B00;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),2,0),COLOR009000;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),1,0),COLOR00A800;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLOR007B00;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),2,0),COLOR090000;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),1,0),COLOR00A800;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
- STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLOR007B00;
- STICKLINE(卖出<LOW,OPEN,CLOSE,2,0),COLOR009000;
- STICKLINE(卖出<LOW,OPEN,CLOSE,1,0),COLOR00A800;
- STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
- STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),1.5,0),COLORCC66FF;
- STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;
- STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;
- STICKLINE(买入>HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA;
- STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
- DRAWICON(CROSS(买入,LOW),LOW*0.95,11);
- DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);
C/C++ Code复制内容到剪贴板
- 趋势强度(附图)
- VAR1:=INDEXC;
- VAR2:=REF(VAR1,18);
- VAR3:=MA(VAR2,18);
- 个股趋势强度:C/MA(REF(C,18),18)*100,COLOR0BFFFF,LINETHICK2;
- 个股风险:MA(FORCAST(个股趋势强度,20),6),COLORRED;
- 大盘趋势强度:VAR1/VAR3*100,COLORF4E202,LINETHICK2;
- 大盘风险:MA(FORCAST(大盘趋势强度,20),6),COLORGREEN;
C/C++ Code复制内容到剪贴板
- 超短操作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)));
- QJ5:=QJ1+QJ2;QJ6:=QJ3+QJ4;DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;
- 资金强度:DD*17,NODRAW;
- DDZ:=DD*13,NODRAW;
- 超短预警:CROSS(资金强度,0),NODRAW;
- STICKLINE(资金强度>0,资金强度,O,3,0),COLOR0000AA;
- STICKLINE(资金强度>0,资金强度,O,2.5,0),COLOR0000BB ;
- STICKLINE(资金强度>0,资金强度,O,1.5,0),COLOR0000CC ;
- STICKLINE(资金强度>0,资金强度,O,1,0),COLOR0000EE;
- STICKLINE(资金强度>0,资金强度,O,0,0),COLOR0000FF;
- STICKLINE(资金强度<0,资金强度,O,3,0),COLOR7B7B00;
- STICKLINE(资金强度<0,资金强度,O,2.5,0),COLOR909000;
- STICKLINE(资金强度<0,资金强度,O,1.5,0),COLORA8A800;
- STICKLINE(资金强度<0,资金强度,O,1,0),COLORCECE00;
- STICKLINE(资金强度<0,资金强度,O,0,0),COLORFFFF00;
C/C++ Code复制内容到剪贴板
- 波段操作(附图)
- VARV:=(2*C+H+L)/4;
- VARU:=LLV(LOW,30);
- VARA1:=HHV(HIGH,30);
- B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);
- B1:=EMA(B,5);
- 趋势收盘:B,NODRAW;
- 趋势开盘:B1,NODRAW;
- 高抛: 80,COLORFF00FF,CIRCLEDOT;
- 低吸: 20,COLORBLUE,CIRCLEDOT;
- 强弱分界: 50,COLORYELLOW,CIRCLEDOT;
- 趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1) ,COLORYELLOW,LINETHICK1;
- 买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;
- 波段拐点:B-B1>0 AND REF((B-B1),1)<0,NODRAW;
- 持仓状态:B-B1>0,NODRAW;
- STICKLINE(B-B1>0,B,B1,3,0),COLOR0000AA;
- STICKLINE(B-B1>0,B,B1,2.5,0),COLOR0000BB;
- STICKLINE(B-B1>0,B,B1,1.5,0),COLOR0000CC;
- STICKLINE(B-B1>0,B,B1,1,0),COLOR0000EE;
- STICKLINE(B-B1>0,B,B1,0,0),COLOR0000FF;
- STICKLINE(B-B1<0,B,B1,3,0),COLOR7B7B00;
- STICKLINE(B-B1<0,B,B1,2.5,0),COLOR909000;
- STICKLINE(B-B1<0,B,B1,1.5,0),COLORA8A800;
- STICKLINE(B-B1<0,B,B1,1,0),COLORCECE00;
- STICKLINE(B-B1<0,B,B1,0,0),COLORFFFF00;
- {----------------------------------------------------}
- 0,COLORFF00FF,LINETHICK3;
C/C++ Code复制内容到剪贴板
- 短线操作
- 飚升上轨:MA(C,14)*1.1,COLOR0080FF,POINTDOT,LINETHICK4;
- 超跌轨:MA(C,14)*0.9,,POINTDOT,COLORGREEN,LINETHICK4;
- 飚升下轨:飚升上轨-(飚升上轨-超跌轨)*0.191,COLORYELLOW,,POINTDOT,LINETHICK4;
- 趋势轨:=飚升上轨-(飚升上轨-超跌轨)*0.618,COLORWHITE,CIRCLEDOT;
- 赢:=MA(C,1);
- 在:=SMA(SMA(SMA(赢,2,1),2,1),2,1);
- 龙:=MA(在,3);
- {=========================================}
- 赢在龙头:=(L+H+C*4)/6;
- 趋势轨①:EMA(赢在龙头,12),NODRAW;
- 趋势轨②:EMA(赢在龙头,19),NODRAW;
- 趋势轨③:IF(L>在,在,龙),NODRAW;
- 赢在:=(趋势轨①-REF(趋势轨①,1))/REF(趋势轨①,1)*100;
- 龙头:=(趋势轨②-REF(趋势轨②,1))/REF(趋势轨②,1)*100;
- G:=BARSLAST(CROSS(赢在,0))+1;
- 止损线A:REF(L,G),NODRAW;
- 止损线B:REF(止损线A,BARSLAST(止损线A>REF(止损线A,1) OR 止损线A<REF(止损线A,1))+1),NODRAW;
- 上趋势:=MA(LOW,20)*1.2;
- 次上趋势:=MA(LOW,20)*1.1;
- 次下趋势:=MA(HIGH,20)*0.9;
- 下趋势:=MA(HIGH,20)*0.8,COLORGREEN;
- ZD:=(C-REF(C,1))/REF(C,1)*100;
- HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
- 趋势强度:IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1))),NODRAW;
- 趋势①拐点:CROSS(赢在,0),NODRAW;
- 趋势②拐点:CROSS(龙头,0),NODRAW;
- 趋势③拐点:CROSS(在,龙),NODRAW;
- 趋势①持仓:赢在>=0,NODRAW;
- 趋势②持仓:龙头>=0,NODRAW;
- 趋势③持仓:在>=龙,NODRAW;
- 上涨斜率:(趋势轨①-止损线A)/止损线A*100,NODRAW;
- 超短:=CROSS(超跌轨*1.01,L) AND H>=REF(L,1);
- 狙击手:超短 AND 趋势强度=3 OR (超短 AND COUNT(超短,BARSLAST(趋势强度=3))=1 AND C>MIN(止损线A,止损线B)),NODRAW;
- {************************************************************}
- 换手:=V*100/CAPITAL;
- 主力:=MA(换手,4);
- 大户:=MA(换手,9);
- 中户:=MA(换手,17);
- 散户:=MA(换手,34);
- 均量:=(主力+大户+中户+散户)/4;
- 机构意愿:=(主力-均量);
- 游资意愿:=(大户-均量);
- 大户意愿:=(中户-均量);
- 散户意愿:=(散户-均量);
- VAR1:=(C-MA(C,6))/MA(C,6)*100;
- VAR2:=(C-MA(C,24))/MA(C,24)*100;
- VAR3:=(C-MA(C,32))/MA(C,32)*100;
- VAR4:=(VAR1+VAR2+VAR3)/3;
- VAR5:=EMA(VAR4,5);
- VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
- VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
- VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1);
- K:=EMA(VAR5,5)*4;
- D:=EMA(K,5);
- J:=K*3-D*2;
- 统一思想:=LLV(VAR6,3)<VAR6 AND J>D AND VAR8>0 OR (LLV(VAR6,3)<VAR6 AND J>D AND C>飚升上轨);
- MA1:=MA(VOL,5);
- MA2:=MA(VOL,40);
- 缩量现象:=MA1<MA2;
- SC:=100*(CLOSE-MA(CLOSE,80));
- 多方线:=EMA(SC,5);增强线:=EMA(SC,21);
- 空翻多:=统一思想 AND 散户意愿<0 AND 大户意愿<0 AND COUNT(缩量现象,周期)>=1 AND 多方线>0 AND 增强线>-100 OR
- (统一思想 AND 散户意愿<0 AND 大户意愿<0 AND COUNT(缩量现象,周期)>=1 AND COUNT(多方线<-100,BARSLAST(CROSS(增强线,多方线)))=0);
- 推土机:=趋势①拐点 AND 散户意愿<0 AND 大户意愿<0 AND 止损线A>REF(止损线A,1),NODRAW;
- 顺大势:=趋势①拐点 AND NOT(散户意愿<0 AND 大户意愿<0) AND (机构意愿>0 OR 机构意愿<0) AND 止损线A>REF(止损线A,1),NODRAW;
- 步步高:=趋势①拐点 AND 机构意愿<0 AND 止损线A<REF(止损线A,1),NODRAW;
- 借东风:=趋势①拐点 AND 机构意愿>0 AND 止损线A<REF(止损线A,1);
- {--------------------------------------------}
- STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;
- STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;
- STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;
- STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;
- STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;
- {---------------------------------------------}
- {阴线-兰色}{阳线-红色}
- STICKLINE(C>=O,C,O,3,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,2,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLORA8A800;
- STICKLINE(C<=O,C,O,2,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- {===========================================}
- DRAWBAND(在,RGB(249,245,246),龙,RGB(0,224,224));
- IF(龙头>=0,趋势轨②,DRAWNULL),COLORMAGENTA,LINETHICK2;
- IF(龙头<0,趋势轨②,DRAWNULL),COLORBLUE,LINETHICK2;
- IF(赢在>=0,趋势轨①,DRAWNULL),COLOR0000FF,LINETHICK2;
- IF(赢在<0,趋势轨①,DRAWNULL),COLORGREEN,LINETHICK2;
- IF(赢在>0,REF(L,G),DRAWNULL),COLORRED,POINTDOT,LINETHICK4;
- IF(赢在<0,REF(L,G),DRAWNULL),COLORGREEN,POINTDOT,LINETHICK4;
- DRAWICON(狙击手,L*0.95,17);
- DRAWTEXT(狙击手,L*0.95,' ←狙击手'),COLORYELLOW;
- DRAWICON(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1,L*0.95,9);
- DRAWICON(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1 AND VAR8>0,L,14);
- DRAWTEXT(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1,L*0.95,' ←空翻多'),COLORWHITE;
- DRAWICON(推土机,L*0.95,13);
- DRAWTEXT(推土机,L*0.95,' ←推土机'),COLORMAGENTA;
- DRAWICON(顺大势,L*0.95,23);
- DRAWTEXT(顺大势,L*0.95,' ←顺大势'),COLORCCCCCC;
- DRAWICON(步步高,L*0.95,15);
- DRAWTEXT(步步高,L*0.95,' ←步步高'),COLORCYAN;
- DRAWICON(借东风,L*0.95,18);
- DRAWTEXT(借东风,L*0.95,' ←借东风'),COLORGREEN;
- VAR0:=(C+H+O+L)/4;
- 卖出:=XMA(VAR0,20)*(1+80/1000);
- 买入:=XMA(VAR0,32)*(1-100/1000);
- DRAWICON(CROSS(买入,LOW),L*0.98,11);
- DRAWICON(CROSS(HIGH,卖出),H*1.02,12);
C/C++ Code复制内容到剪贴板
- 量价看盘
- 量能博弈:=C>REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
- 正向博弈平台:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)+1),NODRAW;
- 量能博弈平台上:=REF(HIGH,BARSLAST(量能博弈)+1);
- 量能博弈平台下:=REF(LOW,BARSLAST(量能博弈)+1);
- 博弈:=C<REF(C,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
- 博弈平台A:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈)-1);
- 博弈平台B:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈));
- 反向博弈平台:MIN(博弈平台A,博弈平台B),NODRAW;
- 博弈平台上A:=REF(HIGH,BARSLAST(博弈)-1);
- 博弈平台上B:=REF(HIGH,BARSLAST(博弈));
- 博弈平台上:=MIN(博弈平台上A,博弈平台上B);
- 博弈平台下A:=REF(LOW,BARSLAST(博弈)-1);
- 博弈平台下B:=REF(LOW,BARSLAST(博弈));
- 博弈平台下:=MIN(博弈平台下A,博弈平台下B);
- {----------------------------------------------------------}
- 筹码分布:=V=HHV(V,100);
- 异动博弈平台:REF((H+L+3*C)/5,BARSLAST(筹码分布)),NODRAW;
- 异动成本上限:=REF(H,BARSLAST(筹码分布));
- 异动成本下限:=REF(L,BARSLAST(筹码分布));
- 资金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(筹码分布);
- 资金博弈平台:REF((H+L+3*C)/5,BARSLAST(资金分布)),NODRAW;
- 台上:=REF(H,BARSLAST(资金分布));
- 台下:=REF(L,BARSLAST(资金分布));
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+80/1000);
- 买入:=XMA(VAR1,32)*(1-100/1000);
- {买:CROSS(买入,LOW),NODRAW;
- 卖:CROSS(HIGH,卖出),NODRAW;}
- {----------------------------------------------------------}
- DRAWBAND(量能博弈平台上,RGB(248,242,242),量能博弈平台下,RGB(248,242,242));
- DRAWBAND(博弈平台上,RGB(70,177,63), 博弈平台下,RGB(70,177,63));
- DRAWBAND(异动成本上限,RGB(250,249,8),异动成本下限,RGB(250,249,8));
- DRAWBAND(台上,RGB(114,2,4),台下,RGB(114,2,4));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- 高抛线:卖出,COLORGREEN,LINETHICK2;
- 低吸线:买入,COLORMAGENTA,LINETHICK2;
- 风险:100*(L-买入)/买入,NODRAW;
- 幅度:100*(卖出-买入)/买入,NODRAW;
- MA1:=MA(VAR1,3);
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLOR007B00;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),2,0),COLOR009000;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),1,0),COLOR00A800;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLOR007B00;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),2,0),COLOR090000;
- STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),1,0),COLOR00A800;
- STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
- STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLOR007B00;
- STICKLINE(卖出<LOW,OPEN,CLOSE,2,0),COLOR009000;
- STICKLINE(卖出<LOW,OPEN,CLOSE,1,0),COLOR00A800;
- STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
- STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),1.5,0),COLORCC66FF;
- STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;
- STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;
- STICKLINE(买入>HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA;
- STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
- DRAWICON(CROSS(买入,LOW),LOW*0.95,11);
- DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);
C/C++ Code复制内容到剪贴板
- 心理意愿(附图)
- 换手:=V*100/CAPITAL;
- 主力:=MA(换手,4);
- 大户:=MA(换手,9);
- 中户:=MA(换手,17);
- 散户:=MA(换手,34);
- 均量:=(主力+大户+中户+散户)/4;
- 主力能量:=(主力-均量);
- 大户能量:=(大户-均量);
- 中户能量:=(中户-均量);
- 散户能量:=(散户-均量);
- 当日意愿:=(ABS(主力能量)+ABS(大户能量)+ABS(中户能量)+ABS(散户能量))*10;
- VAR1:=(C-MA(C,6))/MA(C,6)*100;
- VAR2:=(C-MA(C,24))/MA(C,24)*100;
- VAR3:=(C-MA(C,32))/MA(C,32)*100;
- VAR4:=(VAR1+VAR2+VAR3)/3;
- VAR5:=EMA(VAR4,5);
- VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
- VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
- VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1);
- K:=EMA(VAR5,5)*4;
- D:=EMA(K,5);
- J:=K*3-D*2;
- 机构意愿:主力能量,NODRAW;
- 游资意愿:大户能量,NODRAW;
- 大户意愿:中户能量,NODRAW;
- 散户意愿:散户能量,NODRAW;
- 市场意愿:LLV(VAR6,3)<VAR6,NODRAW;
- 主流意愿:J>D,NODRAW;
- 空方意愿:VAR8>0,NODRAW;
- STICKLINE(CLOSE,0,100,4,1),COLORWHITE;
- STICKLINE(CLOSE,0,75,4,1),COLORWHITE;
- STICKLINE(CLOSE,0,50,4,1),COLORWHITE;
- STICKLINE(CLOSE,0,25,4,1),COLORWHITE;
- STICKLINE(CLOSE,-25,-100,4,1),COLORWHITE;
- STICKLINE(CLOSE,-25,-75,4,1),COLORWHITE;
- STICKLINE(CLOSE,-25,-50,4,1),COLORWHITE;
- STICKLINE(散户能量>=0,5,20,3,0),COLOR0000AA;
- STICKLINE(散户能量>=0,5,20,2,0),COLOR0000CC;
- STICKLINE(散户能量>=0,5,20,1,0),COLOR0000DD;
- STICKLINE(散户能量<0,5,20,3,0),COLOR007B00;
- STICKLINE(散户能量<0,5,20,2,0),COLOR009000;
- STICKLINE(散户能量<0,5,20,1,0),COLOR00A800;
- STICKLINE(中户能量>=0,30,45,3,0),COLOR0000AA;
- STICKLINE(中户能量>=0,30,45,2,0),COLOR0000CC;
- STICKLINE(中户能量>=0,30,45,1,0),COLOR0000DD;
- STICKLINE(中户能量<0,30,45,3,0),COLOR007B00;
- STICKLINE(中户能量<0,30,45,2,0),COLOR009000;
- STICKLINE(中户能量<0,30,45,1,0),COLOR00A800;
- STICKLINE(大户能量>=0,55,70,3,0),COLOR0000AA;
- STICKLINE(大户能量>=0,55,70,2,0),COLOR0000CC;
- STICKLINE(大户能量>=0,55,70,1,0),COLOR0000DD;
- STICKLINE(大户能量<0,55,70,3,0),COLOR007B00;
- STICKLINE(大户能量<0,55,70,2,0),COLOR009000;
- STICKLINE(大户能量<0,55,70,1,0),COLOR00A800;
- STICKLINE(主力能量>=0,80,95,3,0),COLOR0000AA;
- STICKLINE(主力能量>=0,80,95,2,0),COLOR0000CC;
- STICKLINE(主力能量>=0,80,95,1,0),COLOR0000DD;
- STICKLINE(主力能量<0,80,95,3,0),COLOR007B00;
- STICKLINE(主力能量<0,80,95,2,0),COLOR009000;
- STICKLINE(主力能量<0,80,95,1,0),COLOR00A800;
- STICKLINE(VAR6=LLV(VAR6,3),-80,-95,3,0),COLORGREEN;
- STICKLINE(LLV(VAR6,3)<VAR6,-80,-95,3,0),COLORRED;
- STICKLINE(J<D,-55,-70,3,0),COLORCYAN;
- STICKLINE(J>D,-55,-70,3,0),COLORMAGENTA;
- STICKLINE(VAR8=0,-30,-45,3,0),COLOR6B8E23;
- STICKLINE(VAR8>0,-30,-45,3,0),COLORYELLOW;
C/C++ Code复制内容到剪贴板
- ZB成交量(附图)
- MA1:=MA(VOL,5),COLORYELLOW;
- MA2:=MA(VOL,10),COLORWHITE;
- MA3:=MA(VOL,20),COLORWHITE;
- MA4:=MA(VOL,40),COLORMAGENTA;
- 换手:=V*100/CAPITAL;
- {---------------------------------------------------}
- 新股成交量:IF(BARSCOUNT(CLOSE)<40,VOL,DRAWNULL),VOLSTICK;
- AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 成交量(手):VOL,COLORWHITE,LINETHICK0;
- 调整周期:IF(MA1<MA4,BARSLAST(CROSS(MA4,MA1))+1,BARSLAST(CROSS(MA4,MA1))-BARSLAST(CROSS(MA1,MA4))),NODRAW;
- 调整总换手:IF(MA1<MA4,SUM(换手,BARSLAST(CROSS(MA4,MA1))+1),SUM(换手,BARSLAST(CROSS(MA4,MA1))+1)-SUM(换手,BARSLAST(CROSS(MA1,MA4))+1)),NODRAW;
- 调整均换手:调整总换手/调整周期,NODRAW;
- 虚拟成交量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
- 放量上涨:C/REF(C,1)>=1.01 AND V/REF(V,1)>=1.5 AND V>MA(V,5) AND REF(V,1)/REF(MA(V,5),1)<=1.8,NODRAW;
- {-------------------------------------------------------------}
- STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,4,-1),COLOR00C0C0;
- 主动买盘:=IF(C>OPEN,AA*(HIGH-LOW),IF(C<OPEN,AA*((HIGH-OPEN)+(C-LOW)),VOL/2));
- 主动卖盘:=IF(C>OPEN,0-AA*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
- STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,VOL,0,3,0),COLOR0000AA;
- STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,2.5,0),COLOR0000BB ;
- STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1.5,0),COLOR0000CC ;
- STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1,0),COLOR0000EE;
- STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR7B7B00;
- STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR909000;
- STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLORA8A800;
- STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLORCECE00;
- STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,3,0),COLORRED;
- STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,2.5,0),COLOR0066FF;
- STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1.5,0),COLOR0099FF;
- STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1,0),COLORYELLOW;
- STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR007B00;
- STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR009000;
- STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLOR00A800;
- STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLOR00FF00;
- DRAWICON(放量上涨,0,23);
C/C++ Code复制内容到剪贴板
- 专版看大势
- 布林:=HHV(HHV(L,14),60);
- 阻力区:=EMA(EMA(布林,16)-2*STD(布林,16),3);
- 阻力区1:=EMA(EMA(布林,14)+2*STD(布林,14),18);
- DRAWBAND(阻力区,RGB(241,241,247),阻力区1,RGB(241,241,247));
- {=================================================}
- STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
- STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
- STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
- STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
- STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
- STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
- STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
- STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
- STICKLINE(C<=O,C,O,1,0),COLORCECE00;
- STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- ZA1:=EMA(C,25);
- ZA2:=EMA(ZA1,45);
- ZB1:=EMA(C,65);
- ZB2:=EMA(ZB1,45);
- DIFF:=(ZA1+ZB2)/2;
- DEA:=(ZA2+ZB1)/2;
- KA0:=(HHV(C,45)-LLV(C,45))/45;
- KA1:=SMA(C,3,1);
- KA2:=SMA(C-KA0*3,3,1);
- KA3:=SMA(KA1-KA0*3,3,1);
- SC:=100*(CLOSE-MA(CLOSE,80));
- SC1:=EMA(SC,5);
- SC2:=EMA(SC,21);
- 长期策略:SC1>=SC2,NODRAW;
- 次级策略:DIFF>=DEA,NODRAW;
- 短期策略:KA2>=KA3,NODRAW;
- 短期拐点:REF(短期策略,1)=0 AND 短期策略=1,NODRAW;
- 长期趋势:ZB2,COLORYELLOW,LINETHICK3;
- 次级趋势:DIFF,NODRAW;
- 短期趋势:KA2,NODRAW;
- IF(DIFF>=DEA,DIFF,DRAWNULL),LINETHICK3,COLORRED;
- IF(DIFF<DEA,DIFF,DRAWNULL),LINETHICK1,COLORBLUE;
- IF(KA2>=KA3,KA2,DRAWNULL)COLORMAGENTA,LINETHICK3;
- IF(KA2<KA3,KA2,DRAWNULL),LINETHICK1,COLORGREEN;
- CSAR:=SAR(10,2,20);
- 持股:=IF(CSAR<=L,CSAR,0);
- 涅磐:=EMA(SLOPE(C,21)*20+C,42);
- 般若:=EMA(C,5);
- VAR1:=(C+H+O+L)/4;
- 卖出:=XMA(VAR1,20)*(1+55/1000);
- 买入:=XMA(VAR1,32)*(1-100/1000);
- 菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
- 开悟:=IF(般若>=REF(般若,1),般若,DRAWNULL);
- 抛物线转向:=CROSS(L,CSAR) AND 开悟>0 AND H<菩提 AND 持股>0 AND H>涅磐;
- DRAWICON(抛物线转向,(H),16);{趋势底};
- 般:=XMA(CLOSE,7);
- 若:=MEMA(CLOSE,3);
- 趋势延伸:=短期拐点 AND 菩提>H AND NOT(抛物线转向);
- DRAWICON(趋势延伸,H,4);
- DRAWICON(LONGCROSS(若,般,3) AND H>菩提,H,19);
- DRAWICON(BARSLAST(LONGCROSS(若,般,3) AND H>菩提)=1,H,2);
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:最好用的量能指标
下一篇:抢反弹副图TO界文粉丝成功率比较高