通达信:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
资金强度:=REF(EMA(通达信,3),1);{股票公式-股票指标www.gs6699.com}
指标源码:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
fffddc4S:=IF(CLOSE>OPEN,指标源码*(HIGH-LOW),IF(CLOSE<OPEN,指标源码*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-指标源码*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-指标源码*(HIGH-LOW),0-VOL/2));
fffddc5S:=VOL/CAPITAL;
fffddc6S:=IF(fffddc5S>10,10,fffddc5S);
fffddc7S:=fffddc4S/20/1.15;
fffddc8S:=fffddc7S*0.55+REF(fffddc7S,1)*0.33+REF(fffddc7S,2)*0.22;
fffddc9S:=EMA(fffddc8S,8);
fffddc10S:=EMA(fffddc8S,3);
STICKLINE(fffddc7S*0.4>=0,fffddc7S*0.4+fffddc10S,0,3,0),COLORYELLOW;
STICKLINE(fffddc7S*0.4<0,fffddc7S*0.4+fffddc10S,0,3,0),COLORGREEN;
fffddc11S:=IF(fffddc7S*0.4+fffddc10S>0,fffddc7S*0.4+fffddc10S,DRAWNULL);
fffddc12S:=IF(fffddc7S*0.4+fffddc10S<0,fffddc7S*0.4+fffddc10S,DRAWNULL);
fffddc13S:=fffddc7S*0.4+fffddc10S;
fffddc14S:=AMOUNT/10000;
wwsss1:IF(fffddc7S*0.4+fffddc10S>0,fffddc11S,fffddc12S),POINTDOT,COLORWHITE;
wwsss2:IF(fffddc7S*0.4+fffddc10S>0,fffddc11S/fffddc14S*100,fffddc12S/fffddc14S*100),COLORYELLOW;
fffddc15S:=fffddc10S;
STICKLINE(fffddc15S>0,fffddc15S,0,3,0),COLORRED;
STICKLINE(fffddc15S<0,fffddc15S,0,3,0),COLORFF3300;
fffddcS16:=REF(fffddc12S,1)<0 AND fffddc11S>30 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,3);
fffddcS17:=(3*CLOSE+2*LOW+OPEN+HIGH)/7;
fffddcS18:=(20*fffddcS17+19*REF(fffddcS17,1)+18*REF(fffddcS17,2)+17*REF(fffddcS17,3)+16*REF(fffddcS17,4)+15*REF(fffddcS17,5)+14*REF(fffddcS17,6)+13*REF(fffddcS17,7)+12*REF(fffddcS17,8)+11*REF(fffddcS17,9)+10*REF(fffddcS17,10)+9*REF(fffddcS17,11)+8*REF(fffddcS17,12)+7*REF(fffddcS17,13)+6*REF(fffddcS17,14)+5*REF(fffddcS17,15)+4*REF(fffddcS17,16)+3*REF(fffddcS17,17)+2*REF(fffddcS17,18)+REF(fffddcS17,20))/210;
fffddcS19:=fffddc11S>300 AND CROSS(CLOSE,fffddcS18);
DRAWTEXT(fffddcS16,(-30),13),COLORMAGENTA;
DRAWTEXT(fffddcS19,fffddc7S*0.4*1.5*1.4,13),COLORRED;