顶天立地
DIFF:=EMA(C,5)-EMA(C,20);
DEA:=EMA(DIFF,10);
MACD:=500*(DIFF-DEA)/EMA(C,30);
STICKLINE(MACD>=0,0,MACD,2,0) ,COLORRED;
STICKLINE(MACD<=0,0,MACD,2,0) ,COLORLICYAN;
均线:MA(MACD,3);
进:IF(CROSS(MACD,均线)AND 均线>REF(均线,1),均线,DRAWNULL),COLORYELLOW;
STICKLINE(CROSS(MACD,均线)AND 均线>REF(均线,1),0,MACD,2,0),COLORYELLOW;
VARE:=(REF(LOW,1))*(0.89999997);
VARF:=(LOW)*(0.89999997);
VAR10:=((VARF)*(VOL)+(VARE)*(CAPITAL-VOL))/(CAPITAL);
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=((SMA(VAR13,7,1))/(SMA(VAR14,7,1)))*(100);
VAR16:=((SMA(VAR13,13,1))/(SMA(VAR14,13,1)))*(100);
VAR17:=BARSCOUNT(CLOSE);
VAR18:=((SMA(MAX(VAR12,0),6,1))/(SMA(ABS(VAR12),6,1)))*(100);
VAR19:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100);
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*(2),3,1);
VAR1C:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*(100);
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);
VAR20:=(VAR18<=25) AND (VAR19<(-95)) AND (VAR1F>20) AND (VAR1B<(-30)) AND (VAR1E<30) AND (VAR11-
CLOSE>=(-0.25)) AND (VAR15<22) AND (VAR16<28) AND (VAR17>50);
A1:=CROSS(VAR20,0.5) AND (COUNT((VAR20=1),10)=1),COLOR00FFFF,LINETHICK2;
官人出现:IF(A1,50,0),COLORRED,LINETHICK2;
官人入门:IF(VAR20,40,0),COLORYELLOW,LINETHICK2;
VAR26:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
快线:SMA(VAR28,3,1),COLOR0000FF;
慢线:SMA(快线,3,1),COLOR00FFFF;
进了:IF(CROSS(快线,慢线)AND(快线>30),快线+10,慢线),COLORYELLOW,
LINETHICK1;
DRAWTEXT(CROSS(快线,慢线)AND (快线>30),快线+10,'进了')COLORMAGENTA;
短卖:IF(CROSS(慢线,快线) AND (慢线>75),85,100),COLOR008000,LINETHICK2;
DRAWTEXT(CROSS(慢线,快线) AND 快线>75,102,'顶天 '),COLORCYAN;
金叉买:IF(CROSS(快线,慢线) AND (快线<40),35,0),COLORMAGENTA,LINETHICK2,STICK;
DRAWTEXT(CROSS(快线,慢线) AND 快线<30,35,'立地 '),COLORYELLOW;
{STICKLINE(金叉买,0,20,8,0),COLORRED;
STICKLINE(金叉买,18,35,2,0),COLORRED;? }
STICKLINE(快线>慢线,快线,慢线,2,0),COLORRED;
STICKLINE(快线<慢线,快线,慢线,2,0),COLORGREEN;
VARA:=IF(REF(L,1)<=LLV(L,120) AND HHV(C,120)/LLV(C,120)>1.25 AND C>O AND HIGH>LOW+0.04,4,0);
还要:IF(VARA>0,40,0),COLORLIRED,POINTDOT,{STICK,LINETHICK2};
STICKLINE(还要,40,0,2,0),COLORLIRED;
V1:=AMOUNT/VOL/100;
V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V3:=SUM(AMOUNT,7)/V1/100;
V4:=DMA(V2,VOL/V3);
V5:=(CLOSE-V4)/V4*100;
V6:=MA(V5,20)+STD(V5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80
AND REF("KDJ.J"(9,3,3),1)>80,100,98,3,0),COLORRED;
110;
?
如何操作一看就明白。当然 ,还有更深刻的含义。指标不是万能的,但没有指标我现在还是看不清的,哈哈高手可能不要指标吧。这个指标是我在别人源码的基础上修改的,目的是让自己按自己的习惯和理念进行操作,再好的枪如果打不准有啥用呢?是吧。改掉的是我弄不明白的,现在改好的是我可以瞄准的。随着时间的延续经验的曾加可能以后还得改进,有好的妙招大家也可以帮我一下呀。
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!