大智慧指标解盘副图指标
源码
位置:IF(c>0 ,0 ,0 );
位:='日期='+NUMTOSTR(CURRENTDATE-1000000 )+'_' +'代码='+STKLABEL+'_'+'流通A股='+NUMTOSTR(FINANCE(7)/10000 )
+'亿股_'+'最新价='+NUMTOSTRN( c,2)+'_'+ '市盈率='+NUMTOSTRN(DYNAINFO(39),2 )+'_'+ '换手率='
+NUMTOSTRN((VOL/CAPITAL)*100,2)+'%';
TipText(c>0 and BARSTATUS=2,位置+108 ,位),ColorffFFFF,LINETHICK2,ALIGN2;
Var31:=SARTURN( 10,2 ,20 );
Var32:=REF(HIGH,1)*1.1;
Var33:=HIGH*1.1;
Var34:=(Var33*VOL+Var32*(CAPITAL-VOL))/CAPITAL;
Var35:=REF(LOW,1)*0.9;
Var36:=LOW*0.9;
Var37:=(Var36*VOL+Var35*(CAPITAL-VOL))/CAPITAL;
Var38:=EMA(Var37,20);
Var39:=EMA(Var34,20);
VarA:=Var39-1.5;
VarB:=IF(CLOSE<=Var38,VarA,Var39);
别样:= VarB ;
红:= VarA ;
TipText(别样=红 and BARSTATUS=2,位置+100 ,
'解:股价严重超跌,阶段底部可择机买入'),Color00FFFF,LINETHICK2,ALIGN2;
b1:=AMOUNT/VOL/500;
b2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d3:=SUM(AMOUNT,13)/b1/500;
e4:=DMA(b2,VOL/d3);
A1:=(CLOSE-e4)/e4*500 ;
A2:=(CLOSE-e4)/e4*1000 ;
生命指数:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),Color00FFFF;
DRAWICON(生命指数>85 and 生命指数<ref(生命指数,1)
and ref(生命指数,1)>ref(生命指数,2),生命指数 ,9 ),ALIGN1,VALIGN1;
b11:=AMOUNT/VOL/1000;
b12:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d13:=SUM(AMOUNT,13)/b11/1000;
e14:=DMA(b12,VOL/d13);
s3:=(CLOSE-e14)/e14*1000 ;
s5:=REF(s3,1)<-130 and s3-REF(s3 ,1)>5;
股价趋势:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
买入:=IF(股价趋势<=10,30,0);
TipText(买入 and BARSTATUS=2,位置+95 ,'解:底部区域' ),Color00FFFF,LINETHICK2,ALIGN2;
Var8:=LLV(LOW,26);
Var6:=HHV(HIGH,34);
Var7:=EMA((CLOSE-Var8)/(Var6-Var8)*4,4)*25;
派发:=IF((Var7>90),-30,0);
TipText(派发and BARSTATUS=2,位置+95,'解:派发区域'),ColorFFFFFF,LINETHICK2,ALIGN2;
{MACD 12 26 9 }
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA);
MAC := DIFF>ref(DIFF ,1);
{笑傲股林}
{bb1:=AMOUNT/VOL/1000;
bb2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
dd3:=SUM(AMOUNT,13)/bb1/1000;
ee4:=DMA(bb2,VOL/dd3);
笑傲江湖:=(CLOSE-ee4)/ee4*1000;
买:=ref(笑傲江湖 ,1)<-111 and 笑傲江湖-ref(笑傲江湖 ,1)>15 and 笑傲江湖>ref(笑傲江湖 ,1) and mac ;
STICKLINE(买 ,位置 ,位置+50 ,3 ,1);}
{KDJ 9 3 3}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D;
{RSI 6 12 24}
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSII:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
{CR能量指标 26 5 10 20}
{MID := (HIGH+LOW+CLOSE)/3;
CR:=SUM(MAX(0,HIGH-REF(MID,1)),26)/SUM(MAX(0,REF(MID,1)-L),26)*100;
{ARBR 人气意愿指标 26}
AR := SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
BR := SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/
SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100;
{W&R 威廉指标(William's %R) 14}
wr:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
{SAR 抛物转向(Stop and Reverse) 10 2 20}
sa:=SAR(10,2,20);
{OBV 能量潮}
obv:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
{CCI 顺势指标 14}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
{PSY 心理线 12}
PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
{MTM 动力指标 6}
MTM := CLOSE-REF(CLOSE,6);
MTMMA := MA(MTM,6);
{DMI 趋向指标(标准) 14 6}
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
{BBIBOLL 多空布林线 10 3}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,10);
DWN:=BBI-3*STD(BBI,10);
{ROC 变动速率 12 6}
ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
ROCMA:=MA(ROC,6);
风险:90,Color00D4EC;
ddd:110;
0,POINTDOT;
吸筹:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*500;
TipText((REF(a1,1)<-80 and a1>REF(a1,1) or REF(吸筹,1)<-80 and 吸筹>REF(吸筹,1))
and BARSTATUS=2, 位置+90,'解:历史大底全仓买入'),Color00FFFF,LINETHICK2,ALIGN2;
m:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(diff,dea),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(diff,dea),1))+1)>CLOSE
and REF(diff,BARSLAST(REF(CROSS(diff,dea),1))+1)<"macd.diff"
and CROSS(diff,dea),5)>=1 ;
TipText(m and BARSTATUS=2,位置+85,'解:MACD二次金叉'),LINETHICK2,Color00FFFF,ALIGN2;
K1:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(k,d),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(k,d),1))+1)>CLOSE
and REF(k,BARSLAST(REF(CROSS(k,d),1))+1)<k
and CROSS(k,d),5)>=1 ;
TipText(k1 and BARSTATUS=2,位置+85,'解:KDJ二次金叉'),Color00FFFF,LINETHICK2,ALIGN2;
R:=FILTER(CLOSE>LLV(LOW,30)*1.01 and CLOSE<LLV(LOW,30)*1.1
and COUNT(CROSS(rsi1,rsi2),30)>=2,10)
and COUNT(REF(CLOSE,BARSLAST(REF(CROSS(rsi1,rsi2),1))+1)>CLOSE
and REF(rsi1,BARSLAST(REF(CROSS(rsi1,rsi2),1))+1)<rsi1
and CROSS(rsi1,rsi2),5)>=1 ;
TipText(R and BARSTATUS=2,位置+85,'解:RSI二次金叉'),Color00FFFF,LINETHICK2,ALIGN2;
d1:=BARSLAST(REF(CROSS(diff,dea),1));
d2:=REF(CLOSE,d1+1)>CLOSE and REF(diff,d1+1)<"macd.diff" and CROSS(diff,dea);
TipText(d2 and BARSTATUS=2,位置+80,'解:MACD底背离'),Color00FFFF,LINETHICK2,ALIGN2;
f5:=BARSLAST(REF(CROSS(k,d),1));
f2:=REF(CLOSE,f5+1)>CLOSE and REF(k,f5+1)<k and CROSS(k,d);
TipText(f2 and BARSTATUS=2,位置+80,'解:短线指标(KD随机指标)底背离--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(CLOSE,A3+1)>CLOSE and REF(RSI1,A3+1)<RSI1 and CROSS(RSI1,RSI2);
TipText(b3 and BARSTATUS=2,位置+80,'解:RSI底背离'),Color00FFFF,LINETHICK2,ALIGN2;
e1:=BARSLAST(REF(CROSS(dea,diff),1));
f3:=REF(CLOSE,e1+1)<CLOSE and REF(diff,e1+1)>diff and CROSS(dea,diff);
TipText(f3 and BARSTATUS=2,位置+80,'解:MACD顶背离'),ColorFFFFFF,LINETHICK2,ALIGN2;
C2:=BARSLAST(REF(CROSS(d,k),1));
f1:=REF(CLOSE,C2+1)<CLOSE and REF(k,C2+1)>k and CROSS(d,k);
TipText(f1 and BARSTATUS=2,位置+80, '解:短线指标(KD随机指标)顶背离--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
f4:=REF(CLOSE,C3+1)<CLOSE and REF(RSI1,C3+1)>RSI1 and CROSS(RSI2,RSI1);
TipText(f4 and BARSTATUS=2,位置+80,'解:RSI顶背离'),ColorFFFFFF,LINETHICK2,ALIGN2;
Var3o:=REF(CLOSE,1);
Var4o:=SMA(MAX(CLOSE-Var3o,0),6,1)/SMA(ABS(CLOSE-Var3o),6,1)*100;
卖出:=CROSS(80,Var4o);
TipText(卖出 and BARSTATUS=2,位置+90,'解:高度危险,清仓'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(IF(生命指数>92,生命指数,0) and BARSTATUS=2,位置+85,'解:危险,清仓'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(MTM,MTMMA) and BARSTATUS=2,位置+75,
'解:(MTM动力指标)从下向上突破MTMMA,买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(MTMMA,MTM) and BARSTATUS=2,位置+80,
'解:(MTM动力指标)从上向下跌破MTMMA,卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((HHV(HIGH,20)=HIGH)AND(NOT(HHV(MTM,20)=MTM))AND(COUNT(CLOSE>REF(CLOSE,1),30)>18
AND(COUNT(CLOSE>REF(CLOSE,1),3)=3)) and BARSTATUS=2,位置+75,
'解:(MTM 动力指标)顶背离--属卖出信号'),ColorFFFFFF,ALIGN2;
TipText((LLV(LOW,20)=LOW)AND(NOT(LLV(MTM,20)=MTM))AND(COUNT(CLOSE<REF(CLOSE,1),30)>18
AND(COUNT(CLOSE<REF(CLOSE,1),3)=3)) and BARSTATUS=2,位置+80,
'解:(MTM 动力指标)底背离--属买入信号。'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((K<=20 AND D<=20) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)超卖--属买入信号。'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((K>=80 AND D>=80) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)超买--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(K,D)AND(COUNT(VOL>REF(VOL,1),30)>3AND(VOL/CAPITAL<=(10/100)))
AND((K<=20 AND D<=20)) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)金叉--属买入信号,低市值或成交清淡个股应忽略此信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(K,D)AND(COUNT(VOL>REF(VOL,1),30)>3AND
(VOL/CAPITAL<=(10/100)))AND(BARSLAST(CROSS(K,D)AND(COUNT(VOL>REF(VOL,1),30)>3
AND(VOL/CAPITAL<=(10/100)))AND((K<=20 AND D<=20)))>=1)AND(BARSLAST(CROSS(k,D)
AND(COUNT(VOL>REF(VOL,1),30)>3AND(VOL/CAPITAL<=(10/100)))AND((K<=30 AND D<=20)))<=7) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)二次金叉--属最佳买入信号,低市值或成交清淡个股应忽略此信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(D,K)AND(K>=60 AND D>=60) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)死叉--属卖出信号。'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(D,K)AND(K>=60 AND D>=60)AND(BARSLAST(CROSS(D,K)
AND(K>=60 AND D>=60))>=1)AND(BARSLAST(CROSS(D,K)AND(K>=60 AND D>=60))<=7) and BARSTATUS=2,位置+70,
'解:短线指标(KD随机指标)二次死叉--属最佳卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((J<0) and BARSTATUS=2,位置+70,
'解:短线指标(KD.J随机指标)异常--股价在近期底部区域?属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18 AND (COUNT(CLOSE<REF(CLOSE,1),3)=3))
AND((COUNT(OBV>REF(OBV,1),30)>18) AND (COUNT(OBV>REF(OBV,1),3)=3))
AND(COUNT(VOL>REF(VOL,1),30)>3 AND (VOL/CAPITAL<=(10/100))) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)显示买盘较强--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND (COUNT(CLOSE>REF(CLOSE,1),3)=3))
AND ((COUNT(OBV>REF(OBV,1),30)>18)AND(COUNT(OBV>REF(OBV,1),3)=3))
AND(COUNT(VOL>REF(VOL,1),30)>3 AND(VOL/CAPITAL<=(10/100))) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)显示买盘逐渐加强--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND(COUNT(CLOSE>REF(CLOSE,1),3)=3))
AND((COUNT(OBV<REF(OBV,1),30)>18)OR(COUNT(OBV<REF(OBV,1),3)=3)) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)显示买盘无力--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(obv,0)AND(COUNT((REF(obv,1)<0),3)=3) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)由负转正--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(0,obv)AND(COUNT((REF(obv,1)>0),3)=3) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)由正转负--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((HHV(HIGH,20)=HIGH)AND(NOT(HHV(obv,20)=obv)) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)顶背离--属卖出信号。'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((LLV(LOW,20)=LOW)AND(NOT(LLV(obv,20)=obv)) and BARSTATUS=2,位置+65,
'解:短线指标(OBV 能量潮)底背离--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((ABS(obv-REF(obv,1))/ABS(MA(obv,5))>0.07)AND(obv>REF(obv,1)) and BARSTATUS=2,位置+75,
'解:短线指标(能量潮)异常。若股价在高位属卖出信号,若能量线在低位长时间横向整理后出现属买入信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(DIFF,DEA) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)金叉--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(DEA,DIFF) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)死叉--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((LLV(LOW,60)=LOW) AND (NOT(LLV(DEA,60)=DEA)) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)底背离--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((HHV(HIGH,60)=HIGH) AND (NOT(HHV(DEA,60)=DEA)) and BARSTATUS=2,位置+65,
'解:中期指标(MACD 指数平滑异同平均线)顶背离--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(DIFF,DEA) AND (BARSLAST(CROSS(DIFF,DEA))>=3) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)二次金叉--指示买入,股价上涨幅度会较大'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(DEA,DIFF) AND (BARSLAST(CROSS(DEA,DIFF))>=3) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)二次死叉--指示卖出,股价下跌幅度会较大'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18 AND (COUNT(CLOSE<REF(CLOSE,1),3)=3))
AND (COUNT(MACD>REF(MACD,1),30)>18) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)反转--股价将可能反转向上'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND (COUNT(CLOSE>REF(CLOSE,1),3)=3))
AND (COUNT(MACD<REF(MACD,1),30)>18) and BARSTATUS=2,位置+60,
'解:中期指标(MACD 指数平滑异同平均线)反转--股价将可能反转向下'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(rsi1<15AND(BARSLAST(rsi1<15)>=1) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)超卖--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(RSI1>85AND(BARSLAST(RSI1>85)>=1) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)超买--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((((LLV(LOW,20)=LOW)AND(NOT(LLV(RSI1,20)=RSI1)))OR(COUNT(CLOSE<REF(CLOSE,1),30)>18
AND(COUNT(RSI1>REF(RSI1,1),30)>18)))AND(RSI1<20) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)底背离--股价在低位时属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((((HHV(HIGH,20)=HIGH)AND(NOT(HHV(RSI1,20)=RSI1)))OR(COUNT(CLOSE>REF(CLOSE,1),30)>18
AND(COUNT(RSI1<REF(RSI1,1),30)>18)))AND(RSI1>80) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)顶背离--股价在高位时属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(RSI1,RSI2)AND(RSI1<50) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)金叉--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(RSI2,RSI1)AND(RSI1>50) and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)死叉--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(RSI1<5 and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)极低位--强烈买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(RSI1>93 and BARSTATUS=2,位置+55,
'解:短线指标(RSI 相对强弱指标)极高位--强烈卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(AR<50 and BARSTATUS=2,位置+50,
'解:(ARBR 人气指标)超卖--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(AR>200 and BARSTATUS=2,位置+50,
'解:(ARBR 人气指标)超买--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(((HHV(AR,10)-AR)/HHV(AR,10))>=0.5 and BARSTATUS=2,位置+50,
'解:(ARBR 人气指标)异常--若股价从高价下跌,属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(((AR-LLV(AR,10))/LLV(AR,10))>=0.5 and BARSTATUS=2,位置+50,
'解:(ARBR 人气指标)异常--若股价从低价上升,属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(BR<50 and BARSTATUS=2,位置+50,
'解:(ARBR 意愿指标)显示股价随时反弹--考虑买入'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(BR>300 and BARSTATUS=2,位置+50,
'解:(ARBR 意愿指标)显示股价随时下挫--考虑卖出'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(AR,BR)AND(AR<50 OR BR<50) and BARSTATUS=2,位置+50,
'解:(ARBR 人气意愿指标)金叉--属买入信号'),Color0000FF,LINETHICK2,ALIGN2;
TipText(CROSS(BR,AR)AND(AR>180 OR BR>300) and BARSTATUS=2,位置+50,
'解:(ARBR 人气意愿指标)死叉--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CCI<-100 and REF(cci,1)<cci and BARSTATUS=2,位置+45,
'解:(CCI 顺势指标)属买入信号'),Color00FFFF,ALIGN2;
TipText(CCI>100 and REF(cci,1)>cci and BARSTATUS=2,位置+40,
'解:(CCI 顺势指标)属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(CLOSE,UPR)AND(BARSLAST(((COUNT((UPR-DWN)<REF
((UPR-DWN),1),10)>=5)AND(REF((UPR-DWN),5)/
(UPR-DWN)>=4))OR((COUNT((UPR-DWN)<REF
((UPR-DWN),1),10)>=5)AND(((UPR-DWN)/DWN<0.03))))<=3) and BARSTATUS=2,位置+40,
'解:(BBIBOLL 多空布林线-支撑压力指标)向上突破,考虑介入'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(DWN,CLOSE)AND(BARSLAST(((COUNT((UPR-DWN)<REF
((UPR-DWN),1),10)>=5)AND(REF((UPR-DWN),5)/
(UPR-DWN)>=4))OR((COUNT((UPR-DWN)<REF
((UPR-DWN),1),10)>=5)AND(((UPR-DWN)/DWN<0.03))))<=3) and BARSTATUS=2,位置+40,
'解:(BBIBOLL 多空布林线-支撑压力指标)向下突破,迅速离场'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(PSY<10 and BARSTATUS=2,位置+35,
'解:(PSY 心理线指标)低位超卖区--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(BETWEEN(PSY,PSY>10,PSY<25) and BARSTATUS=2,位置+35,
'解:(PSY 心理线指标)超卖--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(PSY>75 and BARSTATUS=2,位置+35,
'解:(PSY 心理线指标)超买--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(wr<-80 and BARSTATUS=2,位置+30,
'解:(W&R 威廉指标)超卖--即将见底,应伺机买进'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(wr>-20 and BARSTATUS=2,位置+30,
'解:(W&R 威廉指标)超买--即将见顶,应及时卖出'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(PDI,MDI) and BARSTATUS=2,位置+25,
'解:(DMI 趋向指标)金叉,显示有新多头进场--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(MDI,PDI) and BARSTATUS=2,位置+25,
'解:(DMI 趋向指标)死叉,显示有新空头进场--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(CLOSE,SA)AND(ABS(CLOSE-sa)/CLOSE>=0.01) and BARSTATUS=2,位置+25,
'解:(SAR 抛物转向指标)向上突破--属买入信号,与DMI指标同时使用更好'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(sa,CLOSE)AND(ABS(CLOSE-sa)/CLOSE>=0.01) and BARSTATUS=2,位置+25,
'解:(SAR 抛物转向指标)向下突破--属卖出信号,与DMI指标同时使用更好'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(CROSS(ROC,0) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)向上突破--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText(CROSS(0,ROC) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)向下突破--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((LLV(LOW,20)=LOW)AND(NOT(COUNT(ROC<REF(ROC,1),30)>18
AND(COUNT(ROC<REF(ROC,1),3)=3))) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)显示下跌动力减弱--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;
TipText((HHV(HIGH,20)=HIGH)AND(NOT(COUNT(ROC>REF(ROC,1),30)>18
AND(COUNT(ROC>REF(ROC,1),3)=3))) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)显示上涨动力减弱--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((COUNT(CLOSE>REF(CLOSE,1),30)>18 AND(COUNT(CLOSE>REF(CLOSE,1),3)=3))
AND(COUNT(ROC>REF(ROC,1),30)>18 AND(COUNT(ROC>REF(ROC,1),3)=3)) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)显示短期反弹有望--属买入信号'),Color00FFFF,ALIGN2;
TipText((COUNT(CLOSE<REF(CLOSE,1),30)>18AND(COUNT(CLOSE<REF(CLOSE,1),3)=3))
AND(COUNT(ROC<REF(ROC,1),30)>18AND(COUNT(ROC<REF(ROC,1),3)=3)) and BARSTATUS=2,位置+20,
'解:(ROC 变动速率指标)显示短期警惕回落--属卖出信号'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText((VOL/CAPITAL)>0.075 and BARSTATUS=2,位置+10,
'解:(换手率指标)换手过大,小心主力出逃,短期头部'),ColorFFFFFF,LINETHICK2,ALIGN2;
TipText(llv(c/FINANCE(34)<1.2,3) and BARSTATUS=2,位置+6,
'解:股价接近净资产,安全区域,显示短期反弹有望--属买入信号'),Color00FFFF,LINETHICK2,ALIGN2;