AMOUNT:=AVPRICE*V;
A:=AMOUNT/V/100;
VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
操盘线:=EMA(((VARA/10)+EMA(A,10)),3);
行情线:=EMA(A,3);
重心:=(C+*REF(C,1)+*REF(C,2)+*REF(C,3)+*REF(C,4))/;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
红升:IF(重心>=趋势线,趋势线,NULL),COLORRED,LINETHICK2;
蓝降:IF(重心<趋势线,趋势线,NULL),COLORBLUE,LINETHICK2;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DB,0),L*,'B'),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*,'S'),COLORYELLOW;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-*100/REF(C,1)),1,0);
STICKLINE1(涨停,O,C,2,0),COLORRED;
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-*100/REF(C,1)),1,0);
STICKLINE1(跌停,O,C,2,1),COLORGREEN;
{金牛三色K线}
主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趋势线>REF(主趋势线,1);
IF(B-1,主趋势线,NULL),COLORBLUE,LINETHICK3;
HONG:=CROSS(重心>=趋势线&&NOT(B-1),);
LAN:=CROSS(主趋势线<REF(主趋势线,1) && 重心<趋势线,);
DRAWTEXT(HONG,(主趋势线+趋势线)/2,'多'),VALIGN1,COLORMAGENTA,FONTSIZE25;
DRAWTEXT(LAN,(主趋势线+趋势线)/2,'空'),VALIGN1,RGB(128,255,128),FONTSIZE25;
AA:=EMA(C,5) > EMA(C,20
文华财经指标公式源码WH6指标公式赢顺云逃顶指标源码 来自淘豆网m.daumloan.com转载请标明出处.