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.gupang.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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)