通达信小花源码副图
{MA(V,30);}
NN:=90;
最高:=CONST(HHV(H,NN));
最低:=CONST(LLV(L,NN));
RCC:=最高*0.9-(最高-最低);
RCC1:=最高-(最高-最低)/2;
RHL:=RCC;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
DI:=EMA(C,3)-EMA(C,13);
DE:=EMA(DI,9);
MACD1:2*(DI-DE)*10,LINETHICK2;
DI2:=EMA(C,5)-EMA(C,26);
DEA2:=EMA(DI2,9);
MACD2:2*(DI2-DEA2)*10;
DIFF3:=EMA(C,7)-EMA(C,89);
DEA3:=EMA(DIFF3,21);
MACD3:2*(DIFF3-DEA3)*10;
MMACD5:MA(MACD3,3);
N:=10;
小花买入:IF(MACD1>=0 AND REF(MACD1,1)<0,1/(N+2)+RCC1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;
IF(MACD1>=0 AND REF(MACD1,1)<0,1/N+RCC1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
白帆买入:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,(MACD3*1.1)/(N+2)+RCC1,(MACD3*1.05-0.1)/(N+2)+RCC1,16,0),COLORLIRED;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,(MACD3*1.05-0.1)/(N+2)+RCC1,(MACD3*0.8+0 )/(N+2)+RCC1,5,0),COLORCCCCCC;
0;{WWW.88GS.COM}
价量:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)
,COLOR00CCFF,NODRAW;
{快线:((((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25))/10-2.5,COLOR55AAFF;};
- 上一篇公式:通达信四季变天图源码副图
- 下一篇公式:通达信自用成交量指标公式