通达信机构K线公式
{机构K线}
C1:=10000*C/INDEXC;
H1:=10000*H/INDEXH;
LL1:=10000*L/INDEXL;
O1:=10000*O/INDEXO;
STICKLINE(C1 =O1,C,O,3,1),COLORRED;
STICKLINE(C1 =O1,L,H,0.2,1),COLORRED;
STICKLINE(C1 O1,C,O,3,1),COLORGREEN;
STICKLINE(C1 O1,L,H,0.2,1),COLORGREEN;
{捞钱手}
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(-MMS 95,0,20);
UOO:=(-(((C-LLV(C,7))/(HHV(C,7)-LLV(C,7))*100=100) 0 AND G1)+1);
KS:=(C-EMA(C,13))/EMA(C,13)*(-100);
趋势线:=EMA((KS/10)+EMA(C,10),3);
SSL:=EMA(C,3);
MMV:=EMA(SLOPE(C,22)*20+C,55);
MM:=MA(MMV,1);
SA:=MM*0.985;
SS:=MA(C,5);
捞钱手:IF(SSL MM,MM,SA),LINETHICK2,COLORFF00FF;
A:=EMA((O+H+L)/3,4);
B:=REF(EMA((O+H+L)/3,4),1);
智能黄金线:A,COLORYELLOW,LINETHICK1;
箱顶:MA(REF(HHV(C,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(C,30),1),2),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(EMA(C,8),EMA(C,20))AND C =O AND 智能黄金线 REF(智能黄金线,1),EMA(C,8)*0.97,'★买'),COLOR00FF00;
VAR3:=SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1);
VAR4:=SMA(VAR3,3,1);
DRAWTEXT(CROSS(VAR3,VAR4),L,'--中期好'),COLOR00FFFF;
DRAWTEXT(CROSS(VAR4,VAR3),H,'--中期坏'),COLORF0F000;
DRAWTEXT(CROSS(A,B),L,'--短期好'),COLOR00FFFF;
DRAWTEXT(CROSS(B,A),H,'--短期坏'),COLORF0F000;
DRAWTEXT(CROSS(VAR3,VAR4)AND C =O AND VAR3 40 AND UOO 0,L*0.96,'★'),COLORF00FF0;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(买线,卖线) AND 箱顶 =REF(箱顶,1),L*0.95,'★跟'),COLOR00FFFF;
STICKLINE(CROSS(买线,卖线),O,C,-1,0),COLOR00FFFF;
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信机构K线公式
加入收藏