期货交易自动化论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 46|回复: 0

股市当中有哪些好用的指标,带源码的? - 比特币今日价格

[复制链接] |主动推送

285万

主题

285万

帖子

855万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
8553710
发表于 2022-9-11 09:23:00 | 显示全部楼层 |阅读模式
指标不是万能的,不是万能钥匙,灵丹妙药,指标五花八门,林林总总,不计其数。每一类指标只能反映股票运行规律的一个侧面。
我自以为是的适合自己的好用的主图指标如下:
DRAWKLINE(H,O,L,C);
涨停1:=(C/REF(C,1)) =1.095 AND (C/REF(C,1)) =1.105;
STICKLINE(涨停1,O,C,4,0),COLORYELLOW;
涨停2:=(C/REF(C,1)) 1.105 AND (C/REF(C,1)) =1.195;
STICKLINE(涨停2,O,C,4,0),COLORLIRED;
涨停3:=(C/REF(C,1)) 1.195 ;
STICKLINE(涨停3,O,C,4,0),COLORMAGENTA;
EXPMA17:EXPMEMA(C,17)COLORMAGENTA LINETHICK2;
MA55:MA(C,55) COLORWHITE;
MA89:MA(C,89)COLORYELLOW ;
MA144:MA(C,144) COLORRED LINETHICK2;
CCL:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DDL:=DMA(CLOSE,CCL);
上:=(1+7/100)*DDL,DOTLINE,COLORGREEN;
下:=(1-7/100)*DDL,DOTLINE,COLORGREEN;
中:=(上+下)/2,DOTLINE,COLORGREEN;
上上:=EMA(上,181),DOTLINE,COLORRED;
下下:=EMA(下,181),DOTLINE,COLORRED;
中中:=EMA(中,181),DOTLINE,COLORRED;
DRAWICON(上 =上上,上上,17);
主十增仓:10*WINNER(CLOSE*0.9)*8,NODRAW COLORYELLOW;
十换手:SUM(VOL/CAPITAL*100,10),NODRAW COLORWHITE;
ER:=V/FINANCE(7)*100;
MAXCYC:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
T1T:=BARSLAST(C MAXCYC*POW(1.1,0.9));
T2T:=BARSLAST(C MAXCYC*POW(1.1,-0.9));
T3T:=CROSS(T1T,T2T) OR CROSS(T2T,T1T) OR BARSSINCE(T1T+1)=0 OR BARSSINCE(T2T+1)=0 OR BARSCOUNT(C)=0;
T4T:=REF(MAXCYC,BARSLAST(T3T));
主力盈利:LN(C/T4T)/LN(1.1)*10,NODRAW;
{盈利天:BARSLASTCOUNT(主力盈利 0) COLORMAGENTA,NODRAW;}
获利比例:WINNER(CLOSE)*100,NODRAW;
DRAWICON(获利比例 0 AND 获利比例 =2,L*0.98,9);
DRAWICON(获利比例 2 AND 获利比例 =5,L*0.98,23);
P1:=90;
AO:=P1+(100-P1)/2;
BO:=(100-P1)/2;
CCO:=COST(AO);
DDO:=COST(BO);
筹码集中度:(CCO-DDO)/(CCO+DDO)*100/2,COLORRED,NODRAW;
DRAWICON(获利比例 80 AND 筹码集中度 10,L*0.98,25);
翻倍:=REFDATE(REF(LLV(LOW,90),3),DATE)=LOW AND (CLOSE-LOW 0-CLOSE OR OPEN-LOW CLOSE-OPEN);
STICKLINE(翻倍,H,H*1.2,2,0),COLORLIRED;
DRAWTEXT(翻倍,H*1.2,'机会来了'),COLORYELLOW;
DRAWTEXT(翻倍,H*1.15,'坚决持有'),COLORCYAN;
DRAWTEXT(翻倍,H*1.1,'后市暴涨'),COLORMAGENTA;
N:=1.5;
M:=3;
DIFF:=EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M);
DEAF:=EMA(DIFF,N*9),COLOR000088;
加仓:IF(DIFF =REF(DIFF,1) AND DEAF REF(DEAF,1),DIFF,DRAWNULL),COLORLIRED,NODRAW;
短线出局:=IF(DIFF REF(DIFF,1) AND DEAF REF(DEAF,1),DIFF,DRAWNULL),NODRAW;
STICKLINE(加仓 ,C,C*1.0015,8,0),COLORYELLOW;

感谢阅读,欢迎关注提问,共同提高!
dot行情

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|期货交易自动化论坛

GMT+8, 2024-11-26 05:27 , Processed in 0.083799 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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