杭州龙风向标
VAR1:=XMA(REF((L+OPEN+CLOSE+HIGH)/4,1),2);
VAR2:=SMA(ABS(LOW-VAR1),60,1)/SMA(MAX(LOW-VAR1,0),60,1);
VAR3:=EMA(VAR2,1);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),11);
博弈:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
Q64948640号:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
差:EXPMEMA(博弈+Q64948640号,1),COLORRED,NODRAW;
杭:=EXPMEMA(博弈-Q64948640号,1);
机构:=EXPMEMA(差*杭,1);
STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,4,0),COLOR000099;
STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,3,0),COLOR0000CC;
STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,1.5,0),COLOR0000FF;
STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,0.5,0),COLORCC66FF;
STICKLINE(机构>REF(机构,1)AND 机构<0,0,机构,3,0),COLORCC00FF;
STICKLINE(机构<REF(机构,1)AND 机构<0,0,机构,4,0),COLORAA00AA;
STICKLINE(机构<REF(机构,1)AND 机构<0,0,机构,3,0),COLORBB00BB;
STICKLINE(机构<REF(机构,1)AND 机构<0,0,机构,2,0),COLORDD00DD;
STICKLINE(机构<REF(机构,1)AND 机构<0,0,机构,1,0),COLORCC00FF;
DRAWTEXT(CROSS(机构,0),0,'有资金'),COLOR00FFFF;
DRAWTEXT(CROSS(0,机构),机构,'抄底'),COLORYELLOW;
强:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
庄影难逃:=EMA((强-REF(强,1))/REF(强,1),1)*1000,COLORFF00FF,NODRAW;
净:=XMA(XMA(EMA(庄影难逃,11),2),2);
流:=EMA(净,44);
差1:=净-流,VOLSTICK;
杭龙:20*EMA(差1,1),COLORFF00FF,,NODRAW;
STICKLINE(杭龙,(REF(杭龙,1)),杭龙,5,0) ,COLOR000077;
STICKLINE(杭龙,(REF(杭龙,1)),杭龙,4,0) ,COLOR000099;
STICKLINE(杭龙,(REF(杭龙,1)),杭龙,3,0) ,COLOR0000BB;
STICKLINE(杭龙,(REF(杭龙,1)),杭龙,2,0) ,COLOR0000DD;
STICKLINE(杭龙,(REF(杭龙,1)),杭龙,1,0) ,COLOR0000FF;
金色持有:=REF(杭龙>REF(杭龙,1),1);
STICKLINE(金色持有,(REF(杭龙,1)),杭龙,5,0),COLOR770077;
STICKLINE(金色持有,(REF(杭龙,1)),杭龙,4,0),COLOR990099;
STICKLINE(金色持有,(REF(杭龙,1)),杭龙,3,0),COLORBB00BB;
STICKLINE(金色持有,(REF(杭龙,1)),杭龙,2,0),COLORDD00DD;
STICKLINE(金色持有,(REF(杭龙,1)),杭龙,1,0),COLORFF00FF;
绿色减仓:=杭龙<REF(杭龙,1);
STICKLINE(绿色减仓,(REF(杭龙,1)),杭龙,5,0 ),COLOR007700;
STICKLINE(绿色减仓,(REF(杭龙,1)),杭龙,4,0 ),COLOR009900;
STICKLINE(绿色减仓,(REF(杭龙,1)),杭龙,3,0 ),COLOR00BB00;
STICKLINE(绿色减仓,(REF(杭龙,1)),杭龙,2,0 ),COLOR00DD00;
STICKLINE(绿色减仓,(REF(杭龙,1)),杭龙,1,0 ),COLOR00FF00;
DRAWTEXT(CROSS(0,杭龙),杭龙,'空'),COLOR00FFFF;
DRAWTEXT(CROSS(杭龙,0),杭龙,'买'),COLOR00FFFF;
|