筹峰:=((COST(85)+COST(15))/2+COST(50))/2,COLOR9900FF;
成本线:MA(筹峰*0.80,10),COLORFF6600,LINETHICK2;
主力成本:(C-成本线)/成本线*100,LINETHICK1,COLORFFFFFF;
主力线:MA(主力成本,5),COLORFF00FF;
下跌:IF(主力成本<REF(主力成本,1) AND 主力成本<主力线 AND ((主力线<REF(主力线,1) AND MA
(C,5)<REF(MA(C,5),1)) OR MA(C,20)<REF(MA(C,20),1)) AND C<=REF(C,1),主力成本,0),
COLOR00AA00,LINETHICK2,STICK;
震荡:IF((主力成本<REF(主力成本,1) AND 主力线>REF(主力线,1)) OR (主力成本>REF(主力成本,1)
AND 主力线<REF(主力线,1)) OR (主力成本<REF(主力成本,1) AND 主力线<REF(主力线,1)
AND (主力成本>主力线 OR MA(C,5)>REF(MA(C,5),1))) OR (主力线>REF(主力线,1) AND
主力成本>REF(主力成本,1) AND 主力成本<主力线),主力成本,0),COLORFF9900,
LINETHICK2,STICK;
反弹:IF(主力线>REF(主力线,1) AND MA(C,20)<REF(MA(C,20),1) AND (主力成本>主力线 OR
主力成本>REF(主力成本,1)),主力成本,0),COLORFF00AA,LINETHICK2,STICK;
上涨:IF(主力成本>主力线 AND 主力成本>REF(主力成本,1) AND 主力线>REF(主力线,1) AND MA
(C,20)>REF(MA(C,20),1),主力成本,0),COLOR0000FF,LINETHICK2,STICK;
DRAWTEXT_FIX(ISLASTBAR AND 下跌=主力成本,0.97,0.05,1,'下跌'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(下跌,1)=REF(主力成本,1),0.97,0.05,1,
'下跌中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(上涨,1)=REF(主力成本,1),0.97,0.05,1,
'上涨中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(震荡,1)=REF(主力成本,1),0.97,0.05,1,
'震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 反弹=主力成本 AND 震荡!=主力成本,0.97,0.05,1,'反弹'),
COLORFF00CC;
DRAWTEXT_FIX(ISLASTBAR AND 上涨=主力成本,0.97,0.05,1,'上涨'),COLOR00FFFF;
移动端首页 | PC端
© by Gszb.com Mobile Web
筹峰:=((COST(85)+COST(15))/2+COST(50))/2,COLOR9900FF;
成本线:MA(筹峰*0.80,10),COLORFF6600,LINETHICK2;
主力成本:(C-成本线)/成本线*100,LINETHICK1,COLORFFFFFF;
主力线:MA(主力成本,5),COLORFF00FF;
下跌:IF(主力成本<REF(主力成本,1) AND 主力成本<主力线 AND ((主力线<REF(主力线,1) AND MA
(C,5)<REF(MA(C,5),1)) OR MA(C,20)<REF(MA(C,20),1)) AND C<=REF(C,1),主力成本,0),
COLOR00AA00,LINETHICK2,STICK;
震荡:IF((主力成本<REF(主力成本,1) AND 主力线>REF(主力线,1)) OR (主力成本>REF(主力成本,1)
AND 主力线<REF(主力线,1)) OR (主力成本<REF(主力成本,1) AND 主力线<REF(主力线,1)
AND (主力成本>主力线 OR MA(C,5)>REF(MA(C,5),1))) OR (主力线>REF(主力线,1) AND
主力成本>REF(主力成本,1) AND 主力成本<主力线),主力成本,0),COLORFF9900,
LINETHICK2,STICK;
反弹:IF(主力线>REF(主力线,1) AND MA(C,20)<REF(MA(C,20),1) AND (主力成本>主力线 OR
主力成本>REF(主力成本,1)),主力成本,0),COLORFF00AA,LINETHICK2,STICK;
上涨:IF(主力成本>主力线 AND 主力成本>REF(主力成本,1) AND 主力线>REF(主力线,1) AND MA
(C,20)>REF(MA(C,20),1),主力成本,0),COLOR0000FF,LINETHICK2,STICK;
DRAWTEXT_FIX(ISLASTBAR AND 下跌=主力成本,0.97,0.05,1,'下跌'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(下跌,1)=REF(主力成本,1),0.97,0.05,1,
'下跌中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(上涨,1)=REF(主力成本,1),0.97,0.05,1,
'上涨中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(震荡,1)=REF(主力成本,1),0.97,0.05,1,
'震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 反弹=主力成本 AND 震荡!=主力成本,0.97,0.05,1,'反弹'),
COLORFF00CC;
DRAWTEXT_FIX(ISLASTBAR AND 上涨=主力成本,0.97,0.05,1,'上涨'),COLOR00FFFF;