大家好,分享一个副图主图均可用指标
N:=60;
M:=3;
VAR11:=MA(C,9),COLORRED;
上升通道:IF(VAR11>REF(VAR11,1),VAR11,DRAWNULL),LINETHICK4,COLORRED;
下降通道:IF(VAR11
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.4,0),COLORYELLOW;
STICKLINE(TJ,O,C,4,1),COLOR0088FF;
STICKLINE(TJ,O,C,3.4,1),COLOR00AAFF;
STICKLINE(TJ,O,C,2.8,1),COLOR00CCFF;
STICKLINE(TJ,O,C,2,1),COLOR00DDFF;
STICKLINE(TJ,O,C,1.2,1),COLOR55FFFF;
STICKLINE(TJ,O,C,0.4,1),COLOR99FFFF;
STICKLINE(TJ1 AND TJ,H,L,0.4,0),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,4,1),COLORFF33FF;
STICKLINE(TJ1 AND TJ,O,C,3.4,1),COLORFF55FF;
STICKLINE(TJ1 AND TJ,O,C,2.8,1),COLORFF77FF;
STICKLINE(TJ1 AND TJ,O,C,2,1),COLORFF99FF;
STICKLINE(TJ1 AND TJ,O,C,1.2,1),COLORFFBBFF;
STICKLINE(TJ1 AND TJ,O,C,0.4,1),COLORFFDDFF;
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
SJ:=(CROSS(SK,SD) AND SK=0.03)OR(CROSS(SK,SD)
AND SK<&#61;-0.14 )OR(CROSS(SK,SD) AND SK<&#61;0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
STICKLINE(SJ,H,L,0.5,0),COLORRED;
STICKLINE(SJ,O,C,5.5,0),LINETHICK3,COLOR000055;
STICKLINE(SJ,O,C,4.5,0),LINETHICK3,COLOR000077;
STICKLINE(SJ,O,C,3.5,0),LINETHICK3,COLOR000099;
STICKLINE(SJ,O,C,2.5,0),LINETHICK3,COLOR0000BB;
STICKLINE(SJ,O,C,1.5,0),LINETHICK3,COLOR0000DD;
STICKLINE(SJ,O,C,0.5,0),LINETHICK3,COLOR0000FF;
EMA13:&#61;EMA(C,13),COLORWHITE;
EMA21:&#61;EMA(C,21),COLORYELLOW;
EMA34:&#61;EMA(C,34),COLORFF00FF;
EMA60:&#61;MA(C,60),COLORFFCC66;
VAR2:&#61;(2*CLOSE&#43;HIGH&#43;LOW)/4;
VAR3:&#61;IF(YEAR>&#61;2099 AND MONTH>2,0,1);
VAR4:&#61;LLV(LOW,5); VAR5:&#61;HHV(HIGH,4);
散户:&#61;EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
庄家:&#61;EMA(0.667*REF(散户,1)&#43;0.333*散户,2)*VAR3;
LC:&#61;REF(CLOSE,1);
RSI:&#61;SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,&#39;←-----逃&#39;),COLORGREEN;
VAR3AA:&#61;IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:&#61;IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),&#39;←---大胆搏 &#39;),COLORYELLOW;
VAR51:&#61;3;
VAR52:&#61;(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));
DRAWTEXT(CROSS(VAR52,VAR51), LOW,&#39;←启动&#39;)COLORMAGENTA;