联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

攻击线 主图

2016-7-31 10:41:54点击:

前期本人在论坛下载一个指标,通过一段时间使用发现股价当日收盘价突破攻击线就会有很好的短线机会。求哪位大神帮帮忙改为选股指标,拜托了

以下源码,主图,可以加入主图公式中,


T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
MM:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT>MM+T1 AND H>T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT>MM+T2 AND HIGH>T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
攻击线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH,1),COLOR00FFFF,LINETHICK2;  
DRAWTEXT(ISLASTBAR, T3HIGH, '攻击线')LINETHICK2,COLOR00FFFF;

选股
 

T1:=CONST(LLVBARS(LOW,10));

T1HIGH:=CONST(REF(HIGH,T1));

MM:=CONST(CURRBARSCOUNT);

T2:=CONST(BARSLAST(CURRBARSCOUNT>MM+T1 AND H>T1HIGH));

T2HIGH:=CONST(REF(HIGH,T2));

T3:=CONST(BARSLAST(CURRBARSCOUNT>MM+T2 AND HIGH>T2HIGH));

T3HIGH:=CONST(REF(HIGH,T3));

XG:CLOSE >T3HIGH AND BARSLAST(REF(CLOSE >T3HIGH,1))>15;