拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),ColorFFFFFF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,Color00FF00;
{下加臺灣MACD變異}
短線:(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*10,LINETHICK0,COLORYELLOW;
{武林股票網(wǎng)-股票指標公式 www.zhibiaogongshi.com}
中線:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*10,LINETHICK0,colorwhite;
紅柱:sma(短線,3,1),LINETHICK0,Color0000FF;
藍柱:sma(中線,3,1),colorstick,ColorFFFF00;
{紅柱}
STICKLINE(紅柱<ref(紅柱,0.5)and 紅柱>0,0,紅柱,8,0),COLOR0000AA;
STICKLINE(紅柱<ref(紅柱,0.5)and 紅柱>0,0,紅柱,7,0),COLOR0000BB;
STICKLINE(紅柱<ref(紅柱,0.5)and 紅柱>0,0,紅柱,6,0),COLOR0000CC;
STICKLINE(紅柱<ref(紅柱,0.5)and 紅柱>0,0,紅柱,5,0),COLOR0000DD;
STICKLINE(紅柱<ref(紅柱,0.5)and 紅柱>0,0,紅柱,4,0),COLOR0000EE;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱>0,0,紅柱,3,0),COLOR0000FF;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱>0,0,紅柱,2,0),COLORRED;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,8,0),COLOR0000AA;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,7,0),COLOR0000BB;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,6,0),COLOR0000CC;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,5,0),COLOR0000DD;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,4,0),COLOR0000EE;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,3,0),COLOR0000FF;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱>0,0,紅柱,2,0),COLORRED;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,9,0),COLOR0000FF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,7,0),COLOR0033FF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,6,0),COLOR0055FF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,5,0),COLOR0077FF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,4,0),COLOR0099FF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,3,0),COLOR00BBFF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,2,0),COLOR00DDFF;
STICKLINE(藍柱<ref(藍柱,1) and 藍柱>0,0,藍柱,1,0),COLOR00FFFF;
{藍柱}
STICKLINE(紅柱>ref(紅柱,0)and 紅柱<0,0,紅柱,8,0),COLORFF0000;
STICKLINE(紅柱>ref(紅柱,0)and 紅柱<0,0,紅柱,7,0),COLORFF3300;
STICKLINE(紅柱>ref(紅柱,0)and 紅柱<0,0,紅柱,6,0),COLORFF5500;
STICKLINE(紅柱>ref(紅柱,0)and 紅柱<0,0,紅柱,5,0),COLORFF7700;
STICKLINE(紅柱>ref(紅柱,0)and 紅柱<0,0,紅柱,4,0),COLORFF9900;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱<0,0,紅柱,3,0),COLORFFBB00;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱<0,0,紅柱,2,0),COLORFFDD00;
STICKLINE(紅柱>ref(紅柱,1)and 紅柱<0,0,紅柱,1,0),COLORFFFF00;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,8,0),COLORFF0000;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,7,0),COLORFF3300;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,6,0),COLORFF5500;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,5,0),COLORFF7700;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,4,0),COLORFF9900;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,3,0),COLORFFBB00;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,2,0),COLORFFDD00;
STICKLINE(紅柱<ref(紅柱,1)and 紅柱<0,0,紅柱,1,0),COLORFFFF00;
STICKLINE(藍柱>ref(藍柱,1)and 藍柱<0,0,藍柱,10,0),COLOR998800;
STICKLINE(藍柱>ref(藍柱,1)and 藍柱<0,0,藍柱,7,0),COLORBBAA90;
STICKLINE(藍柱>ref(藍柱,1)and 藍柱<0,0,藍柱,4,0),COLORDDCC99;
STICKLINE(藍柱>ref(藍柱,1)and 藍柱<0,0,藍柱,1,0),COLORFFEEBB;
聯(lián)系客服