您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

找顶底周期震荡碧血之剑指标可选股 指标 源码[其他软件公式]

这个指标较为复杂,可以提供以下思路和操作建议:
 
1. KDJ指标:该指标可以用来判断股票市场的买入、卖出、持有时机。当K线(快线)从下向上穿过D线(慢线)时,为金叉,代表股市上涨时机,可以适量买入或持有股票;当K线从上向下穿过D线时,为死叉,代表股市下跌时机,建议适量卖出或避险。
 
2. 周期震荡指标:该指标可以用来判断股市趋势的震荡周期。当红条上升时,代表股市处于震荡期并有上涨趋势,可以适量买入或持有股票;当红条下降时,代表股市震荡期结束,适量卖出或避险。
 
3. MA指标:该指标可以用来判断股票市场的趋势走向。当价格上涨时,MA线上升,建议适量买入或持有股票;当价格下跌时,MA线下降,建议适量减持或卖出股票。
 
4. 分时买卖指标:该指标可以用来判断股票市场的短期买卖时机。当趋势线低于标准线时,代表股票市场疲软,建议适量减持或卖出股票;当趋势线高于标准线时,代表股票市场趋势向好,可以适量买入或持有股票。

 

DRAWGBK(v>=0,COLORRGB(1,100,100),COLORRGB(18,19,51),0);
MID := MA(C,7);
HH:=MID + 2*AVEDEV(C,10);
LL:=MID - 2*AVEDEV(C,10);
RSV:= (C-MID)/AVEDEV(C,20)*7;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D;
STICKLINE(K>D,K,D,5,1),COLORYELLOW;
STICKLINE(K<D,K,D,5,0),COLORBLUE;
cxh77:=HHV(H,5);
cxh88:=LLV(L,5);
趋势:=EMA((C-cxh88)/(cxh77-cxh88)*7,5);
cxh99:=EMA(C,6)-EMA(C,12);
cxh100:=5*EMA(cxh99,9);
cxh110:=1*(cxh99-cxh100);
cxh120:=IF(cxh110>0,6*cxh110,0);
买:=FILTER(趋势<cxh120 AND 趋势<REF(趋势,3) AND 趋势>REF(趋势,1) AND
趋势<3,1);
DRAWICON(买>0,K*1.1,4);
cxh1:=C>REF(C,1) AND C>REF(C,2);
cxh2:=REF(cxh1,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh3:=REF(cxh2,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh4:=REF(cxh3,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh5:=REF(cxh4,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh6:=REF(cxh5,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh7:=REF(cxh6,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh8:=REF(cxh7,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh9:=REF(cxh8,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxhA:=REF(cxh9,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxhB:=REF(cxhA,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxhC:=REF(cxhB,1) AND C<=REF(C,1) AND C>=REF(C,2);
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR
cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),5,0),COLORRED;{红1}
cxhD:=C<REF(C,1) AND C<REF(C,2);
cxhE:=REF(cxhD,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxhF:=REF(cxhE,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh10:=REF(cxhF,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh11:=REF(cxh10,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh12:=REF(cxh11,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh13:=REF(cxh12,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh14:=REF(cxh13,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh15:=REF(cxh14,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh16:=REF(cxh15,1) AND C>=REF(C,1) AND C<=REF(C,2);
cxh17:=REF(cxh16,1) AND C<=REF(C,1) AND C>=REF(C,2);
cxh18:=REF(cxh17,1) AND C>=REF(C,1) AND C<=REF(C,2);
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR
cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),5,0),COLORFFCC66;
cxh19:=REF(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR
cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,1) AND cxh1;
STICKLINE(cxh19,REF(C,1),REF(C,2),5,1),COLORYELLOW;
cxh1A:=REF(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR
cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,1) AND cxhD;
STICKLINE(cxh1A,REF(C,1),REF(C,2),5,2),COLOR00FF00{98FD};
STICKLINE(cxh19,REF(C,1),REF(C,2),3,0),COLOR00FFFF;
{STICKLINE(cxh19,REF(C,1),REF(C,2),1,0),COLOR10FFFF;}
STICKLINE(cxh1A,REF(C,1),REF(C,2),3,0),COLOR00D900;
DRAWICON((CROSS(K,MID)ANDcxh1>0),0,4);
XG:CROSS(K,MID)AND cxh1>0,Color00FF00,LINETHICK1;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容