当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:买卖防线副图+选股(通达信指标 副图 源码 测试图)
软件名称:[B]买卖防线副图+选股(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2023-09-13 08:23:46
软件简介:
买卖防线
VAR1:=(HHV(HIGH,9)-LLV(LOW,9));
VAR2:=(HHV(HIGH,9)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,9));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,34);
防线B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8),COLORWHITE;
B1:=EMA(防线B,5);
STICKLINE(防线B>0 AND 防线B-B1>=0,19,20,3,0),COLORYELLOW;
STICKLINE(防线B>0 AND 防线B-B1< 0,19,20,3,1),COLORRED;
买卖:防线B-B1,COLORCYAN;
短线:-买卖,COLORRED;
卖出:(REF(买卖,1)>0 AND 买卖<=0) OR (买卖< 1 AND 买卖>=0 AND C< O),COLORRED;
DRAWICON(卖出,36,1);
STICKLINE(卖出,0,28,1,0),COLORRED;
DRAWTEXT(卖出,30,'卖'),COLORMAGENTA;
买入:卖出=0 AND REF(买卖,1)< 0 AND 买卖>0,COLORRED;
STICKLINE(买入,0,28,2,0),COLORYELLOW;
DRAWICON(买入,40,1);
DRAWTEXT(买入,30,'买'),COLORYELLOW;
选股公式如下:
VAR1:=(HHV(HIGH,9)-LLV(LOW,9));
VAR2:=(HHV(HIGH,9)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,9));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,34);
AAB:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);
B1:=EMA(AAB,5);
AAA:=AAB-B1;
AA:=(REF(AAA,1)>0 AND AAA<=0) OR (AAA< 1 AND AAA>=0 AND C< O);
AA=0 AND REF(AAA,1)< 0 AND AAA>0;
[url=http://www.70822.com/soft/sort013/sort05/down-169219.html]买卖防线副图+选股(通达信指标 副图 源码 测试图)[/url]