求股海神高手们帮忙写一个通达信用、板块指数的公式
那我大神能帮忙写一个通达信用、附图可以自我定义板块指数的公式:handshake用K线能清楚看到形态,那位可以帮帮忙 是不是没法写? 感谢您的分享,好好学习,天天上涨!2024/6/26 A:=REF(HY_INDEXC,1);
行业涨幅:IF(A>0,(HY_INDEXC-A)*100/A,0),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00C0C0;
HYDB:DRAWKLINE(HY_INDEXH,HY_INDEXO,HY_INDEXL,HY_INDEXC);
这是通达信的行业指数公式,请问自定义的概念,行业怎么写????????????????????????? A:=REF(HY_INDEXC,1);
行业涨幅:IF(A>0,(HY_INDEXC-A)*100/A,0),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00C0C0;
HYDB:DRAWKLINE(HY_INDEXH,HY_INDEXO,HY_INDEXL,HY_INDEXC); 好好学习,天天向上!!! RSVN:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
KN:SMA(RSVN,5,1),COLORWHITE;
DN:SMA(KN,3,1),COLORYELLOW;
JN:3*KN-2*DN,COLORMAGENTA;
VAR1B:=(CLOSE+HIGH+LOW)/3;
VAR2B:=EMA(VAR1B,2);{ 2}
VAR3B:=REF(VAR2B,1.2);{1.2}
红买:=VAR2B>VAR3B;
WCSA:=(SMA(红买,5,1))*30;{3}
DRAWTEXT(FILTER(WCSA<3,3),JN+20,'准备'),COLORWHITE;
DRAWTEXT(FILTER(CROSS(WCSA,2.5),5),JN,'涨'),COLORYELLOW;
FF:=EMA(CLOSE,5);
MA15:=EMA(CLOSE,18);
DRAWICON(CROSS(FF,MA15) AND WCSA<15,JN,42);
VAR1:=3*SMA((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*41,7,1)-
2*SMA(SMA((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*46,7,1),2,1);
STICKLINE(FILTER(CROSS(VAR1,5),5),5,40,1,0),COLORGREEN;
5,COLORFF8000;15,COLORFF8000,DOTLINE;85,COLORMAGENTA,DOTLINE;95,COLORMAGENTA;
好好学习,天天向上!!! 自我定义板块指数???你想拿来干嘛?骗人吗? 感谢您的分享,好好学习,天天上涨!:handshake
页:
[1]