通达信上边绿点卖出 下边红点买入源码副图

2017-07-08 14:00:00来源:本站整理浏览:716

{STICKLINE(VAR3MM<12 AND A2MM<12,0,5,1.3,1),COLORYELLOW;}
STICKLINE(A2MM< REF(A2MM,1) AND A2MM>79 AND A2MM>80,90,100,3,0),COLORGREEN;
{10-15 1 90-95 1};
TEND:=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),COLORFF00FF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
STICKLINE(TEND<=10 AND CROSS((EMA(VAR2W,3)),(EMA((EMA(VAR2W,7)),5))) AND (EMA((EMA(VAR2W,7)),5))<20,15,25,3,0),COLORLIRED;
{90-95 1.3}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RTD:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ATD:=SMA(RTD,3,1);
BTD:=SMA(ATD,3,1);
CCC:=(BTD/2+40)*1.1;
DTD:=SMA(CCC,3,1);
STICKLINE(CROSS(DTD,RSI5) AND CROSS(80,RSI5),80,90,3,1),COLORGREEN;
{30-35 1.6}
RSI:=SMA(MAX(C-(REF(C,1)),0),6,1)/SMA(ABS(C-(REF(C,1))),6,1)*100;
WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100;
RSI买点:=RSI<20 AND RSI>REF(RSI,1);
WR反向买点:=WR反向>-80 AND WR反向<REF(WR反向,1);
朋友选股:=RSI买点 AND WR反向买点;
STICKLINE(朋友选股,20,30,3,1),COLORRED;
{40-45 1.6}
DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIFF1,9),COLORFFFF00;
A1HMG:=BARSLAST(REF(CROSS(DIFF1,DEA1),1));
底背离:=REF(CLOSE,A1HMG+1)>CLOSE AND DIFF1>REF(DIFF1,A1HMG+1) AND CROSS(DIFF1,DEA1);
DEA0:=EMA(DIFF1*100,9);
MACD0:=2*(DIFF1*100-DEA0);
黑码:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15);
DRAWICON(底背离 AND 黑码,40,25);
{40-45 1.3}
WRSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
RSVGS:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
KGS:=SMA(RSVGS,3,1);
DGS:=SMA(KGS,3,1);
JGS:=(3*KGS-2*DGS),LINETHICK2;
VAR1YG:=4*SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1),3.2,1);
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
VAR01DB:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02DB:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03DB:=CROSS(VAR02DB,VAR01DB);
VAR04DB:=REF(VAR02DB,2)<REF(VAR02DB,1) AND VAR02DB<REF(VAR02DB,1);
VAR05DB:=COUNT(VAR03DB,7)>0 AND VAR04DB;
VAR11DB:=EMA(IF(LOW<=(LLV(LOW,33)),(EMA(C,5)),0),3)*40;
VAR12DB:=IF(VAR11DB>100,VAR11DB*0.312,VAR11DB);
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
B1:=SMA(VAR1,7,1);
VAR2:=SMA(B1,5,1);
绝路航标:=IF(CROSS(B1,VAR2) AND B1<40,38,0),COLORYELLOW,LINETHICK2;
BG:=IF(DATE<=1150530,1,0);
GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
VB1:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
中线:=1,COLORBLUE,LINETHICK2;
快趋势线:=EXPMA((DCLOSE/VB1),21),COLORYELLOW,,LINETHICK1;
STICKLINE(CROSS(快趋势线,中线) AND CROSS(WRSI,20) AND VAR05DB AND COUNT(VAR05DB,5)=1,0,10,1,1),COLORMAGENTA;
STICKLINE(绝路航标>0 AND VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8)),0,10,3,0),COLORMAGENTA ;
STICKLINE(VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8)) AND CROSS(JGS,-5),0,10,3,1),COLORRED;
STICKLINE(CROSS(个股,9) AND (CROSS(VAR1YG,8)) AND CROSS(JGS,-5),0,10,1,1),COLORLIMAGENTA;
STICKLINE(CROSS(JGS,-5) AND CROSS(WRSI,20),0,10,3,1),COLORLIMAGENTA;
STICKLINE(CROSS(WRSI,20) AND 绝路航标>0 AND VAR05DB AND COUNT(VAR05DB,5)=1,0,10,1.3,1),COLORMAGENTA;

{}
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB211:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
低买:=IF(黄金 AND RSV<VARB211-2,40,0),COLORCYAN,LINETHICK2;
VAR121:=REF(CLOSE,1);
特准:=STICKLINE(FILTER(REF(VAR211,1)<20 AND VAR211>REF(VAR211,1),5),0,25,1,0),LINETHICK2,COLOR00FF00;
乖离:=MA(MM,3);
红柱抄底:=STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,25,50,1,0),COLORRED;
STICKLINE(红柱抄底 AND 特准,5,15,1,0),COLORRED;
{}
STICKLINE(CROSS(JGS,3) AND TEND<5,20,30,3,0) ,COLORRED;
XX:=((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100)* 5);
B001:=(((((CLOSE - MA(CLOSE,42)) / MA(CLOSE,42)) ) * 100) * 5);
B002:=(((((CLOSE - MA(CLOSE,67)) / MA(CLOSE,67)) ) * 100) * 5);
B003:=(((XX + B001) / 2) - (B002 ));
B004:=(((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)));
B005:=(((0 - 100) * (HHV(HIGH,42) - CLOSE)) / (HHV(HIGH,42) - LLV(LOW,42)));
B006:=(((0 - 100) * (HHV(HIGH,72) - CLOSE)) / (HHV(HIGH,72) - LLV(LOW,72)));

上一页  [1] [2] [3]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式