最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将<积极卖出 谨慎买入>的指标改做2个预警选股

    正文概述    2024-04-14 08:53:02  

    九毛八公式指标

    求助!!请老师们高手们将<积极卖出 谨慎买入>的指标改做2个预警选股 源码如下 BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE; BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2; 操作区:IF(BIAS3<0,BIAS3,0),COLORRED,LINETHICK2; 观望区:IF(BIAS3>0,BIAS3,0),COLORGREEN,LINETHICK2; VAR1:=IF(DATE>=1990601,0,1); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); TJ1:=观望区REF(操作区,1); 顶: IF(TJ1 AND VAR5=50,15,0),STICK,LINETHICK1,COLORGREEN; 底: IF(TJ2 AND VAR4=50,10,0),STICK,LINETHICK1,COLORRED; DRAWICON(TJ1 AND VAR5=50,-2,2); DRAWICON(TJ2 AND VAR4=50,11,1); 预警1;要求第2根红色箭头出现发出预警选股 预警2;要求绿色线串上向上发出预警选股

    公式模块:

    {第二根红箭头1}

    bias1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100; BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100; 操作区:=IF(BIAS3<0,BIAS3,0); 观望区:=IF(BIAS3>0,BIAS3,0); VAR1:=IF(DATE>=1990601,0,1); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); TJ1:=观望区<REF(观望区,1) OR 观望区-REF(观望区,1)<REF(观望区,1)-REF(观望区,2); TJ2:=操作区>REF(操作区,1); crOSS(EVERY(TJ2 AND VAR4=50,2),0.5); {第二根红箭头2} BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100; BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100; 操作区:=IF(BIAS3<0,BIAS3,0); 观望区:=IF(BIAS3>0,BIAS3,0); VAR1:=IF(DATE>=1990601,0,1); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); TJ1:=观望区<REF(观望区,1) OR 观望区-REF(观望区,1)<REF(观望区,1)-REF(观望区,2); TJ2:=操作区>REF(操作区,1); CROSS(EVERY(EXIST(TJ2 AND VAR4=50,2),2),0.5); {绿色线串上向上} BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100; BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100; 操作区:=IF(BIAS3<0,BIAS3,0); 观望区:=IF(BIAS3>0,BIAS3,0); REF(观望区,1)=0 AND 观望区>0;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将<积极卖出 谨慎买入>的指标改做2个预警选股 加入收藏