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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 玩股票的亏货们 给你们一套金融市场万能指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-19 09:51:59
玩股票的亏货们 给你们一套金融市场万能指标介绍

玩股票的亏货们 给你们一套金融市场万能指标

TYP := (HIGH + LOW + C)/3;
收:(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),LINETHICK3,colorwhite;
TYP1 := (HIGH + LOW + o)/3;
开:=(TYP1-MA(TYP1,20))/(0.015*AVEDEV(TYP1,20));
TYP2 := (HIGH + LOW + h)/3;
高:=(TYP2-MA(TYP2,20))/(0.015*AVEDEV(TYP2,20));
TYP3 := (HIGH + LOW + l)/3;
低:=(TYP3-MA(TYP3,20))/(0.015*AVEDEV(TYP,20));
ARRAY:=收;
HIGHBARS:=BARSLAST(NOT(ARRAY>0));
LOWBARS:=BARSLAST(NOT(ARRAY<0));
UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY>100,5)>0);
DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY<-100,5)>0);
UPTREND:=ARRAY>0 AND UPCONDITION<DNCONDITION;
DNTREND:=ARRAY<0 AND UPCONDITION>DNCONDITION;
TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);
STICKLINE(UPTREND,0,收,4,0),COLORFF0000;{蓝色柱子}
STICKLINE(DNTREND,0,收,4,0),color4b2142;{红色柱子}
STICKLINE(TRTREND,0,收,4,0),COLOR00FFFF;{黄色柱子}
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),0,收,4,0),COLOR808080;{灰色柱子}
DRAWICON(ABS(收)>=200,收,12);{图标};
ah:=0;
al:=ref(收,1); {注意指标叠加该函数有循环或分支中将不准确,慎重使用叠加方式}
ahl:=ah-al;
a61:=al+ahl*0.2;
nnl:=DISPSTATUS=2;
{暂时}
STICKLINE(收>开,高,低,8.8,1),colorred;
STICKLINE(收>开,收,开,3,0),color0000a2;
STICKLINE(收< 开,高,低,8.8,1),COLOrgreen;
STICKLINE(收< 开,收,开,3,0),color005b00;
STICKLINE(收=开,高,低,8.8,1),colorffff00;

q191:=al+(ah-al)*-0.121;
DRAWTEXT(nnl,q191,' 下空上多 ̄ ̄'+q191),ALIGN1,Colorwhite,LINETHICK1;
q1921:=al+(ah-al)*0.121;
DRAWTEXT(nnl,q1921,' STOP ̄ ̄'+q1921),ALIGN1,Colorwhite,LINETHICK1;
q1911:=(高+低)/2;
DRAWTEXT(nnl,q1911,'初入止▔▔▔▔▔▔▔'+q1911),ALIGN1,Coloryellow,LINETHICK2;
DRAWFLAGTEXT(q1911,q1911,'首次入场反向走势止损位置'+q1911),COLORblack,LINETHICK7;
DRAWTEXT(nnl,收,' NEW▔▔▔▔▔▔'+收),ALIGN1,colorffff11,LINETHICK2;
a61:=al+ahl*0.382;
nnl:=DISPSTATUS=2;

差值:(收-开),LINETHICK0,Colorffddff;
高低点分割:收/2,LINETHICK0;

DRAWICON(ABS(收)>=200,收,12);{图标};
STICKLINE(C,30,29,8,0),COLORwhite;
STICKLINE(C,-29,-30,8,0),COLORwhite;
STICKLINE(C,-2,2,7,0),colora0a050;{中轴}
DRAWTEXTREL(567,100,' 差值:'+ 差值),Colorffddff,LINETHICK7;
收q:=ref(收,1);
DRAWTEXT(nnl,收q,'▔ ▔ ▔ ▔ ▔ ▔ '+收q),ALIGN1,VALIGN0,colorffff00,LINETHICK4;
VM:=MA(收,1);
{版权所有---k线的舞者}
DRAWTEXT(BARSTATUS=2 and 收>REF(收,1),Vm,'【升】'),COLORRED,LINETHICK2;
DRAWTEXT(BARSTATUS=2 and 收<REF(收,1),Vm,'【降】'),COLORgreen,LINETHICK2;
PARTLINE(收,收>REF(收,1),RGB(255,20,120),收<REF(收,1),RGB(255,255,255)),linethick4;
DRAWTEXTREL(567,230,' 0.01手赚1$等于10点:'),Colorffddff,LINETHICK7;


 




 



gd22620

回复

举报

QQ|

GMT+8, 2024-11-17 05:55

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