当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:红灯必须停,黄灯观察明,绿灯就可行!
软件名称:[B]红灯必须停,黄灯观察明,绿灯就可行![/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2012-07-10 07:39:48
软件简介:
公式名称:买卖指示灯
简短介绍:以小朋友过马路口令,修改了这个指标。
1、出现红色长条,准备要卖出了。
2、出现黄s长条,准备和留意,也可以少量的买入。
3、出现绿色长条,准备买入。
买入的时候参考30分钟K线图,卖出的时候参考MACD指标。
VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100; VAR4:=SMA(SMA(VAR3,3,1),3,1); VAR5:=EMA(VAR4,5); VAR6:=VAR5; VAR7:=3*VAR4-2*VAR5; VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K: SMA(VAR8,3,1), , COLORRED; D: SMA(K,3,1), , COLORYELLOW; VAR9:=3*K-2*D; VARA:=LLV(LOW,36); VARB:=HHV(HIGH,30); VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25; 趋势: VARC, ,COLOR00FF00; 底背: STICKLINE(VARC<10,0,8,5,0), , COLORYELLOW; 顶背: STICKLINE(VARC>90,100,92,5,0), , COLORRED; VARD:=87.5; VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25; 反弹: DRAWTEXT(IF(CROSS(VAR9,8),87,0),48,'反弹'), , COLORF0F000; 买: DRAWTEXT(IF(CROSS(VARE,87.5) AND 趋势<40,87,0),10,'买'), , COLOR00FF00; 目标位: DRAWTEXT(IF(CROSS(趋势,VARD) AND VARE=100,50,0),56,'目标位'), , COLORBLUE; 见好跑: DRAWTEXT(IF(CROSS(VARD,趋势),87,0),85,'见好跑'), , COLORF00FF0; 卖: DRAWTEXT(IF(CROSS(趋势,VARE) AND 趋势>87,87,0),70,'卖'), , COLORRED; 短买: IF(CROSS(趋势,10) AND 趋势>10,50,0), STICK,LINETHICK3, COLORGREEN; VARF:=SMA(VAR3,20,1); VAR10:=SMA(VARF,15,1); VAR11:=(3*VARF+2*VAR10)/4; VAR12:=REF(VAR11,1); VAR13:=SMA(MAX(VAR11-VAR12,0),2,1)/SMA(ABS(VAR11-VAR12),2,1)*100; VAR14:=MA(VAR13,10); VAR15:=IF(CROSS(VAR14,90),25,0); DRAWTEXT(CROSS(VAR14,90),27,'强势整理'), , COLORWHITE; VAR16:=(CLOSE+LOW+HIGH)/3; VAR17:=SUM((VAR16-REF(LOW,1)-(HIGH-VAR16))*VOL/100000/(HIGH-LOW),0); VAR18:=EMA(VAR17,1); VAR19:=MA(VAR18,12); VAR1A:=MA(VAR18,26); VAR1B:=(VAR18-VAR19)*10; VAR1C:=CAPITAL/EMA(VOL,5)/30*1.1; VAR1D:=IF(CROSS(VAR1B,VAR1C),1,0); VAR1E:=FILTER(VAR1D,7); VAR1F:=DRAWICON(VAR1E=1,100,1); VAR20:=EMA(CLOSE,12)-EMA(CLOSE,26); 强势: DRAWTEXT(IF(CROSS(VAR20,0) AND VAR20>0,87,0),80,'强势'), , COLORRED; 弱势: DRAWTEXT(IF(CROSS(0,VAR20) AND VAR20<0,87,0),15,'弱势'), , COLORYELLOW; VAR21:=(CLOSE*2+HIGH+LOW)/4; VAR22:=EMA(VAR21,12)-EMA(VAR21,26); VAR23:=EMA(VAR22,2); VAR24:=2*(VAR22-VAR23)*5.8; 加仓: DRAWTEXT(IF(CROSS(VAR24,0.47),LOW,0),12,'加仓'), , COLOR00FF00; VAR25:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3); VAR26:=66.6; DRAWTEXT(IF(CROSS(VAR25,63) AND CROSS(VAR9,D) OR CROSS(VAR25,76) AND CROSS(VAR9,D) OR CROSS(VAR25,80) AND CROSS(VAR9,D) OR CROSS(VAR25,85) AND CROSS(VAR9,D),LOW,0),20,'反弹'), , COLORF00FF0;
[url=http://www.70822.com/soft/sort013/sort05/down-50537.html]红灯必须停,黄灯观察明,绿灯就可行![/url]