股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信博弈波段公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 17:25:26

以下是通达信博弈波段公式

通达信博弈波段公式

源码

DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0);

A:=BARSCOUNT(C);C0:=(H+L+O+C)/4;C3:=SUM(IF(A>2,(C0/REF(C0,1)-1),0),15);

MC3:=SMA(C3,3,1)*100;MC4:=MA(MC3,11);涨跌:MC3,COLOR00FFFF,LINETHICK2;

趋势:MC4,COLORFFFF00,LINETHICK2;{STICKLINE(MC4>0,MC4,0,1,0),COLOR7777BB,LINETHICK2;}{STICKLINE(MC4<0,MC4,0,1,0),COLORBB7777,LINETHICK2;}

STICKLINE(MC3>MC4,MC3,MC4,1,0),COLOR0000FF,LINETHICK2;

STICKLINE(MC3<MC4,MC3,MC4,1,0),COLOR00FF00,LINETHICK2;

VAR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VAR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VAR6:=100-VAR5;VAR7:=100-VAR4;A1:=REF(C,1);A2:=100*V/CAPITAL*10; AA:=CROSS(VAR6,VAR7) AND VAR4<25 ;AAB:=CROSS(VAR6,VAR7) AND VAR4>30 AND VAR4<50 ;ABC:=CROSS(VAR6,VAR7) AND VAR4>50 AND VAR4<65;TMP:=FORCAST(-1*VAR6,21);

TMP,COLORGREEN;

STICKLINE(1,0,TMP,1,0),COLORBLUE;

STICKLINE(VAR7<REF(VAR6, 1), -1*VAR7, -1*VAR7+2, A2,1), COLORRED; VA1:=MA(VAR6,3); STICKLINE(-1*VAR7>VA1, -1*VAR7, -1*VAR6,A2,1), COLORYELLOW;

STICKLINE(VAR7>=REF(VAR6, 1), -1*VAR7, -1*VAR6, A2+2,0), COLORGREEN; -100; -10; -90;百万:=MA(WINNER(C),9)*100;BB:=CROSS(百万,2.5) ;BB*-85,LINETHICK4,STICK,COLORYELLOW;DRAWTEXT(BB,-40,'..监测'),LINETHICK3;DRAWTEXT(AAB,-80,'盯庄');DRAWTEXT(ABC,-50,'梅开二度');DRAWTEXT(AA,-70,'跟庄'),COLORYELLOW;DRAWTEXT(AA,-50,'庄股');DRAWTEXT(AA,-60,'启动'),COLORGREEN;





回复

举报

QQ|

GMT+8, 2024-11-20 09:29

快速回复 返回顶部 返回列表