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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[飞狐] 逢低吸


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

以下是逢低吸

Var2:=(2*CLOSE+HIGH+LOW)/4;
Var3:=IF(YEAR>=2099ANDMONTH>2,0,1);
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散户:EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3;
庄家:EMA(0.667*REF(散户,1)+0.333*散户,2)*Var3;
DRAWTEXT(CROSS(散户,庄家)AND散户<50AND29<散户,20,'短快进'),COLOR00FF00;
DRAWTEXT(CROSS(庄家,散户)AND散户>40AND71>散户,50,'短快出'),COLOR00FFFF;
DRAWTEXT(CROSS(散户,庄家)AND散户<30,0,'逢低吸'),COLOR3399CC;
DRAWTEXT(CROSS(庄家,散户)AND散户>70,75,'逢高减'),COLORFFFF33;
DRAWICON(CROSS(散户,庄家)AND散户<30,20,1);
DRAWICON(CROSS(庄家,散户)AND散户>70,80,2);
Var9:=CLOSE-REF(CLOSE,5);
VarA:=EMA(EMA(Var9,5),5)/EMA(EMA(ABS(Var9),5),5)*100;
VarC:=EMA(EMA(Var9,20),20)/EMA(EMA(ABS(Var9),20),20)*100;
卖出:IF(VarA>0ANDCROSS(VarC,VarA),90,100);
DRAWTEXT(VarA>0ANDCROSS(VarC,VarA),90,'中线逃吧!'),COLOR0033FF;
DRAWICON(卖出<0,100,2);


{逢低吸选股}
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
逢低吸选股:CROSS(散户,庄家)AND散户<30;







回复

举报

QQ|

GMT+8, 2024-11-16 04:20

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