本人改良的一个操盘指标,要注意绝佳未来函数的小心使用
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-01-29 09:33:00
公式简介:
绝佳 是带有未来函数的,使用需要注意!
MA1:MA(CLOSE,M1);
{三线开花趋势}
DRAWICON(CROSS((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,(MA(CLOSE,13)+MA(
CLOSE,34)+MA(CLOSE,55))/3),(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,1);
线1:IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+
MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,(MA(CLOSE,20)+MA(
CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00;
IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+MA(
CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(
CLOSE,10)+MA(CLOSE,25))/3),COLORRED;
线2:IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(
CLOSE,120))/6<(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(
CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6,(MA(CLOSE,
20)+MA(CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00;
IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,
120))/6<(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE,
60)+MA(CLOSE,120))/3,(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(
CLOSE,60)+MA(CLOSE,120))/6),COLORRED;
线3:IF((MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3<(MA(CLOSE,5)+MA(CLOSE,10)+
MA(CLOSE,25))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA(
CLOSE,60)+MA(CLOSE,120))/3),COLOR00FF00,LINETHICK2;
IF((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3<(MA(CLOSE,20)+MA(CLOSE,60)+MA(
CLOSE,120))/3,(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,(MA(CLOSE,20)+MA(
CLOSE,60)+MA(CLOSE,120))/3),COLORRED,LINETHICK2;
{巴老股市07}
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★绝佳'),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖');
DRAWTEXT(CROSS(EMA(C,8),EMA(C,20))AND(C>=O)AND EMA((C+H+L)/3,4)>REF(EMA((C+
H+L)/3,4),1),EMA(C,8)*1.05,'★买'),COLOR00FF00;
DRAWTEXT(CROSS(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1),
SMA(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1),3,1))AND(C>=O)
AND SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1)<40 AND (-(((
CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND IF(-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>95,0,20))+1)>0,HIGH*1.07,'★蛰伏'),COLORFF7F00;
DRAWTEXT(CROSS(EMA(C,2),EMA(SLOPE(C,21)*20+C,42))AND MA(REF(HHV(C,30),1),
2)>=REF(MA(REF(HHV(C,30),1),2),1),LOW*0.95,'★跟'),COLORYELLOW;
{巴老解盘 智能解盘}
DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L*1.00,'该股强于大盘'),COLORFF00FF;
{极地上涨}
VARD:=EMA(0.667*REF(EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34)-LLV
(LOW,34))*100,13),1)+0.333*EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34)
-LLV(LOW,34))*100,13),2);
B1:=EMA(((((2)*(CLOSE)+HIGH+LOW)/(4)-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)
))*(100),8);
DRAWTEXT((CROSS(3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,
1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),
20)),LOW*0.91,'低位转强'),COLORWHITE;
DRAWTEXT((CROSS(EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/(HHV(HIGH,34)-LLV
(LOW,34))*100,13),EMA(VARD,1)) AND EMA(((CLOSE+HIGH+LOW)/3-LLV(LOW,34))/
(HHV(HIGH,34)-LLV(LOW,34))*100,13)>VARD AND EMA(((CLOSE+HIGH+LOW)/3-LLV
(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13)<55 AND C>O),L*0.99,'开始拉升'),
COLORYELLOW;
DRAWTEXT((LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100)),H*1.03,'极地上涨')
,COLORRED;
{MACD叫“好”};
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<-0.1,L*0.88,' 低位金叉'),COLORWHITE;
DRAWTEXT(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(COUNT(CROSS(DIFF,DEA),BARSLAST(
DEA>=0))=2,21)=1,L*0.86,' 二次金叉')COLORYELLOW;
DRAWTEXT(REF(CLOSE,BARSLAST(REF(CROSS(DIFF,DEA),1))+1)>CLOSE AND DIFF>REF(
DIFF,BARSLAST(REF(CROSS(DIFF,DEA),1))+1) AND CROSS(DIFF,DEA),L*0.84,
' 底背离'),COLORFF00FF;
[url=http://www.goodgupiao.com/gupiaogongshi/25490.html][B]本人改良的一个操盘指标,要注意绝佳未来函数的小心使用[/B][/url]