紫气东来趋势 金色买入飞升【指标公式】(含选股)
第一部分 副图公式 手机/电脑CAIH1:=2;
CAIH8:=(CLOSE+LOW+HIGH)/3;
CAIH9:=ATAN(EMA(CAIH8,13)-REF(EMA(CAIH8,13),1))*3.1416*10;
CAIH11:=EMA(EMA(CLOSE,2),2);
M1:EMA(HHV(CAIH11,1),2),COLORWHITE;
M2:EMA(HHV(M1,CAIH1),1),COLORFF99FF;
M3:EMA(HHV(M2,CAIH1),2),COLORFF77FF;
M4:EMA(HHV(M3,CAIH1),3),COLORFF55FF;
M5:EMA(HHV(M4,CAIH1),4),COLORFF33FF;
M6:EMA(HHV(M5,CAIH1),5),COLORFF11FF;
M7:EMA(HHV(M6,CAIH1),6),COLORMAGENTA;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,LOW,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
IF(M1
IF(M2
IF(M3
IF(M4
IF(M5
IF(M6
IF(M7
CAIH12:=EMA(CLOSE,5);
CAIH13:=EMA(CLOSE,13);
CAIH14:=EMA(CLOSE,34);
CAIH15:=EMA(CLOSE,55);
CAIH16:=EMA(CLOSE,89);
CAIH17:=MAX(MAX(MAX(CAIH12,CAIH13),CAIH14),CAIH15)/MIN(MIN(MIN(CAIH12,CAIH13),CAIH14),CAIH15)REF(CAIH13,1) AND CAIH14>REF(CAIH14,1) AND CAIH15>REF(CAIH15,1);
CAIH18:=MAX(MAX(CAIH12,CAIH13),CAIH14)/MIN(MIN(CAIH12,CAIH13),CAIH14)REF(CAIH12,1) AND CAIH13>REF(CAIH13,1) AND CAIH14>REF(CAIH14,1);
CAIH19:=MAX(MAX(CAIH12,CAIH13),CAIH16)/MIN(MIN(CAIH12,CAIH13),CAIH16)REF(CAIH13,1);
CAIH20:=MAX(MAX(CAIH13,CAIH14),CAIH15)/MIN(MIN(CAIH13,CAIH14),CAIH15)REF(CAIH13,1);
CAIH21:=CAIH17 OR CAIH18 OR CAIH19 OR CAIH20;
STICKLINE(CAIH21,LLV(CLOSE,5)*0.998,LLV(CLOSE,5)*0.995,50,0),COLOR33CCDD;
CAIH22:=MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND CLOSE>MA(CLOSE,60) AND M1>REF(M1,1) AND M2>REF(M2,1) AND M3>REF(M3,1) AND M4>REF(M4,1) AND M5>REF(M5,1) AND M6>REF(M6,1) AND M7>REF(M7,1);
DRAWICON(FILTER(CAIH9>1 AND EMA(CAIH8,13)>REF(EMA(CAIH8,8),1),10),LOW*0.975,1);
IF(CAIH22,MA(CLOSE,60),DRAWNULL),CIRCLEDOT,COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,24),COLORYELLOW;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,2.2,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1.5,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,0.5,0),COLORWHITE;
CAIH48:=CLOSE/REF(CLOSE,1)>=1.05 AND NOT(CLOSE>=INTPART(REF(CLOSE,1)*1.1*100)/100);
STICKLINE(CAIH48,CLOSE,OPEN,4,(-1)),COLORLIRED;
STICKLINE(CAIH48,CLOSE,OPEN,3,(-1)),COLORYELLOW;
STICKLINE(CAIH48,OPEN,CLOSE,2.5,0),COLORRED;
STICKLINE(CAIH48,OPEN,CLOSE,1,0),COLORMAGENTA;
CAIH49:=REF(CLOSE,1)/CLOSE=1.05;
STICKLINE(CAIH49,CLOSE,OPEN,4,(-1)),COLORGREEN;
STICKLINE(CAIH49,CLOSE,OPEN,3,(-1)),COLORFF9900;
STICKLINE(CAIH49,OPEN,CLOSE,2.5,0),COLORFFBB00;
STICKLINE(CAIH49,OPEN,CLOSE,1,0),COLORCYAN;
CAIH50:=NAMELIKE(4) OR NAMELIKE(5);
CAIH51:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH OR (CLOSE/REF(CLOSE,1)>=1.09 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW) OR (CLOSE/REF(CLOSE,1)>=1.048 AND CAIH50=1 AND CLOSE=HIGH) OR (CLOSE/REF(CLOSE,1)>=1.045 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW AND CAIH50=1);
STICKLINE(CAIH51,CLOSE,OPEN,4,(-1)),COLORYELLOW;
STICKLINE(CAIH51,OPEN,CLOSE,3.5,0),COLORRED;
STICKLINE(CAIH51,OPEN,CLOSE,2.5,1),COLOR007FFF;
STICKLINE(CAIH51,OPEN,CLOSE,1,0),COLORYELLOW;
第二部分 选股公式
{选股公式一:红箭头图标}
CAIH12:=EMA(CLOSE,5);
CAIH13:=EMA(CLOSE,13);
CAIH14:=EMA(CLOSE,34);
CAIH15:=EMA(CLOSE,55);
CAIH17:=MAX(MAX(MAX(CAIH12,CAIH13),CAIH14),CAIH15)/MIN(MIN(MIN(CAIH12,CAIH13),CAIH14),CAIH15)REF(CAIH13,1) AND CAIH14>REF(CAIH14,1) AND CAIH15>REF(CAIH15,1);
CAIH8:=(CLOSE+LOW+HIGH)/3;
CAIH9:=ATAN(EMA(CAIH8,13)-REF(EMA(CAIH8,13),1))*3.1416*10;
红箭头图标:FILTER(CAIH9>1 AND EMA(CAIH8,13)>REF(EMA(CAIH8,8),1),10);
{选股公式二:黄柱信号}
CAIH50:=NAMELIKE(4) OR NAMELIKE(5);
CAIH51:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH OR (CLOSE/REF(CLOSE,1)>=1.09 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW) OR (CLOSE/REF(CLOSE,1)>=1.048 AND CAIH50=1 AND CLOSE=HIGH) OR (CLOSE/REF(CLOSE,1)>=1.045 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW AND CAIH50=1);
黄柱信号:CAIH51;
好好 学习了 确实不错 看帖回帖是美德!:lol 相当不错,感谢无私分享精神! 谢谢了呀,辛苦了呀,支持呀! thanks
页:
[1]