N:=13;
N1:=102;
M:=7;
VAR2:=CLOSE*vol;
VAR3:=EMA((expma(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)
+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3,LINETHICK2,COLORWHITE;
SDN:VAR3*0.94,LINETHICK2,COLORWHITE;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5),LINETHICK2,COLORYELLOW;
LDN:EXPMA(VAR4*0.86,5),LINETHICK2,COLORYELLOW;
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AAX*N1/100,COLORRED;
通道2:AAX*(200-N1)/100,COLORRED;
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,COLORGREEN;
通道4:(1-M/100)*DD,COLORGREEN;
DRAWICON( cci.CCI<-100 AND L<通道4 AND L<LDN AND dmi.ADX>DMI.mdi
AND DMI.ADX>40 ,通道1,17);
DRAWTEXT( CCI.CCI<-100 AND L<通道4 AND L<LDN AND DMI.ADX>DMI.MDI
AND DMI.ADX>40 ,L,’庄家发果果了,抢啊’);
DRAWTEXT(CCI<REF(CCI,1) AND C<LUP AND REF(C,1)>REF(LUP,1),H,’走了,后面是人家的了’);
{N= 2 200 13}
K15:EMA(CLOSE,15) ,COLORMAGENTA,LINETHICK2;
K20:EMA(CLOSE,20) ,COLORRED;
K25:EMA(CLOSE,25) ,COLORRED;
K30:EMA(CLOSE,30) ,COLORRED;
K35:EMA(CLOSE,35) ,COLORYELLOW;
K40:EMA(CLOSE,40) ,COLORYELLOW;
K45:EMA(CLOSE,45) ,COLORGREEN;
K50:EMA(CLOSE,50) ,COLORGREEN;
K55:EMA(CLOSE,55) ,COLORGREEN;
K60:EMA(CLOSE,60) ,COLORFFFF00,LINETHICK2;
趋势线:EXPMA(C,120),COLORYELLOW,LINETHICK2;
HH:=HHV(HIGH,5);
LL:=LLV(LOW,5);
HH1:=BArslAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
{ _最新股票指标公式}
STICKLINE((HH1 < LL1),CLOSE,OPEN,2,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,2,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWICON(crOSS(HH1,LL1),HH,2);
DRAWICON(CROSS(LL1,HH1),LL,1);
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,’♂加’),COLORYELLOW;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,’♀减’),COLORGREEN;
boll:MA(CLOSE,N),NODRAW;
UPPER:BOLL+2*STD(CLOSE,N),COLORWHITE,LINETHICK1;
LOWER:BOLL-2*STD(CLOSE,N),COLORWHITE,LINETHICK1;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。