通达信顶底神奇判断源码

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

通达信顶底神奇判断源码

以下是通达信顶底神奇判断源码(无源码的请下载附件导入)

LC := REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;

RSIF:=90-RSI1,COLOR33DD33;

A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;

VAR22:=LLV(LOW,10);

VAR33:=HHV(HIGH,25);

动力线:EMA((CLOSE-VAR22)/(VAR33-VAR22)*4,4); RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

PP101:=SMA(RSV,3,1);

PP102:=SMA(PP101,3,1);

PP103:=3*PP101-2*PP102;

{以下显示在LASTBAR,实时状态}

STICKLINE(动力线>0 AND ISLASTBAR AND

((PP103>PP101 AND

PP103PP101),20,80,0,1),COLORGRAY;

STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ISLASTBAR AND ((PP103>PP101 AND

PP103PP101),20,35,2,1),COLORGRAY;{底部保持关注,灰色}

STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ISLASTBAR AND ((PP103>PP101 AND

PP103PP101),35,50,2,0),COLORYELLOW;{底部酌情买入,黄色}

STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ISLASTBAR AND ((PP103>PP101 AND

PP103PP101),50,65,2,0),COLORRED;{强势持仓段,红色}

STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ISLASTBAR AND ((PP103>PP101 AND

PP103PP101),65,72,2,0),COLORLIRED;{阶段卖出,粉红}

STICKLINE(动力线>=3.45 AND ISLASTBAR,72,80,2,0) AND PP103

STICKLINE(PP103

{以下显示在上方第二行}

STICKLINE(动力线>0 AND ((PP103>PP101 AND PP103PP101),95,94,1,0),COLORGRAY;

STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ((PP103>PP101 AND

PP103PP101),95,92,3,0),COLORGRAY;{底部保持关注,灰色}

STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ((PP103>PP101 AND

PP103PP101),95,94,1,0),COLORYELLOW;{底部酌情买入,黄色}

STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ((PP103>PP101 AND

PP103PP101),95,94,1,0),COLORRED;{强势持仓段,红色}

STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ((PP103>PP101 AND

PP103PP101),95,92,3,0),COLORLIRED;{阶段卖出,粉红}

STICKLINE(动力线>=3.45,95,92,3,0) AND PP103

STICKLINE(PP103VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV( HIGH,9)-LLV(LOW,9))*100-70;

VAR2:=SMA(VAR1,9,1) 100;

VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9 ))*100;

VAR4:=SMA(VAR3,3,1);

VAR5:=SMA(VAR4,3,1) 100;

VAR6:=VAR5-VAR2;

趋势:IF(VAR6>45,VAR6-45,0);

STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋

势,1),2,0),COLORMAGENTA;

STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋

势,1),2,0),COLORGREEN;

强弱分界:=50,COLORFFFFCC;

底部:=0,COLOR00FFFF;

安全:=20,COLORFFAA66,LINETHICK1;

预警:=80,COLORFFAA66,LINETHICK1;

顶部:=100,COLORFFFF33;

V1:=LLV(LOW,10);

V2:=HHV(H,25);

价位线:=EMA((C-V1)/(V2-V1)*4,4);

{DRAWTEXT(CROSS(价位线,0.3),20 4,'●买

'),COLORRED;}

DRAWTEXT(CROSS(3.5,价位线),110-4,'●卖

'),COLORWHITE;

VAR2Q:=REF(LOW,1);

VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;

相关文档
最新文档