波段绝品指标 (源码)
大智慧波段绝品指标公式股票软件源码如下:
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
趋势: MEMA(IF(VAR6B>45,VAR6B-45,0),3),COLOR00FFFF,LINETHICK0;
PARTLINE(趋势,(趋势>REF(趋势,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYER0;
趋势S:=filter(CROSS(REF(趋势,1),趋势),5);
趋势B:=filter(CROSS(趋势,REF(趋势,1)),5);
趋势C:=filter(趋势S OR 趋势B,3);
{www.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
drawbmp(趋势S AND 趋势C ,趋势*1.17,'小熊.bmp'),align1,valign0,LAYER3; {小图可不要}
drawbmp(趋势B AND 趋势C AND 趋势<20,趋势*2,'小牛.bmp'),align1,valign0,LAYER3; {小图可不要}
VERTLINE(趋势S AND 趋势C ,2),LAYER0,COLORFF9900;
VERTLINE(趋势B AND 趋势C AND 趋势<20,2),LAYER0,COLOR0099FF;
FILLRGN(-4.5,2,-4.5<2,RGB(0,60,0)),LAYER7;
BBI:=(2*c+H+L)/4;
B:=SMA((BBI-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43)),5,1)*100;
持股:MEMA(MEMA(B,2),3),COLOR44ffff,DOTLINE;;
PARTLINE(持股,持股>ref(持股,1),rgb(255,100,0)),LINETHICK3,LAYER0;
DRAWGBK(持股>ref(持股,1),STRIP(RGB(0,0,255),RGB(160,0,80),0)),LAYER0;
- 上一篇公式:短线顶部指标 (源码)
- 下一篇公式:MACD金叉死叉指标 (源码)