股市提款机《主图》支撑压力+底部顶部指标 公式 源码[其他软件公式]
指标源码分析及使用参考建议:
根据给出的分析指标,我可以给出以下简要的思路和操作建议:
均线指标:根据不同周期的均线,如ma20、ma120、ma30等,可以判断股票的短期和长期趋势。当短期均线上穿长期均线时,可能是买入信号;而当短期均线下穿长期均线时,可能是卖出信号。
顶底线指标:通过计算飞龙顶底线、短底等指标,可以判断股票的底部和顶部形成的时间点。当底部形成时,可能是买入信号;而当顶部形成时,可能是卖出信号。
支撑和压力位指标:支撑位和压力位可以帮助确定股票的重要价格水平。当股票价格突破压力位时,可能向上运行;而当股票价格跌破支撑位时,可能向下运行。
KDJ指标:根据KDJ指标的数值和交叉情况,可以判断股票的超买和超卖状态。当K线上穿D线并且数值较低时,可能是买入信号;当K线下穿D线并且数值较高时,可能是卖出信号。
综合以上指标,可以制定以下操作建议:
当短期均线上穿长期均线,并且底部形成或者价格突破压力位时,可以考虑买入股票。
当短期均线下穿长期均线,并且顶部形成或者价格跌破支撑位时,可以考虑卖出股票。
注意KDJ指标的超买和超卖情况,避免盲目追涨杀跌。
在买入和卖出时,需要结合其他技术指标和市场情况进行综合判断,以降低风险。
请注意,以上建议仅供参考,投资有风险,需要您自行判断并谨慎决策。
源码:
ma20:=ma(close,20);
ma120:=ma(close,120);
ma30:=ma(close,37);
map:=ma(close,8);
aa5:=ma(close,21);
aa10:ma(close,8),color0000ff;
aa12:ma(close,12),color0000ff;
bb10:=((atan((aa10 - ref(aa10,1))) * 3.1416) * 10);
bb12:=((atan((aa12 - ref(aa12,1))) * 3.1416) * 10);
ma13:=ma(close,13);
CXH1q:=((((open + low) + high) + close) / 4);
中期大底:llv(low,30),colorcdffbb;
短底:=ema(CXH1q,5);
支撑:=hhv(短底,60);
压力一:hhv(low,20),colorfaabec;
压力:=sma(low,5,1);
中线:=ma(close,3);
drawtext(filter(((((high > 支撑) and (close < 支撑)) and ((close / open) > (0 - 1.06))) and (close < open)),5),(high + 0.02),'←逃'),color00ffff;
中轨道:=(ma(high,15) * 1.05);
天:=(ma(low,15) * 0.985);
人:=(ma(low,15) * 0.96);
地:=(((high + low) + close) / 3);
b1:=hhv(地,(4 * 15));
b6:=llv(地,(4 * 15));
b7:=(b1 - b6);
b8:=(ma(((地 - b6) / b7),2) * 80);
CXH1:=(((close - llv(low,100)) / (hhv(high,100) - llv(low,100))) * 200);
飞龙顶底线:=sma(CXH1,3,1);
CXH2:=sma(飞龙顶底线,3,1);
CXH3:=((3 * 飞龙顶底线) - (2 * CXH2));
CXH4:=llv(low,5);
CXH5:=hhv(high,5);
CXH6:=(ema((((close - CXH4) / (CXH5 - CXH4)) * 100),4) * 2);
CXH7:=ema(((0.667 * ref(CXH6,1)) + (0.333 * CXH6)),2);
CXH8:=((3 * CXH6) - (2 * CXH7));
CXH9:=(pow(ma(close,5),2) + ma(close,5));
CXHa:=(pow(ma(low,5),2) + ma(low,5));
CXHb:=(pow(ma(high,5),2) + ma(high,5));
CXHc:=(((((CXH9 - llv(CXHa,64)) / (hhv(CXHb,64) - llv(CXHa,64))) * 150) + 65) - 10);
CXHd:=((sma(CXHc,3,1) * 1.5) - 100);
CXHe:=sma(CXHd,3,1);
CXHf:=((3 * CXHd) - (2 * CXHe));
CXH10:=(((high + low) + (close * 2)) / 4);
CXH11:=ema(CXH10,13);
CXH12:=std(CXH10,13);
CXH13:=(((CXH10 - CXH11) * 100) / CXH12);
CXH14:=ema(CXH13,5);
CXH15:=ema(CXH14,13);
CXH16:=((ema(CXH14,13) + 200) - 100);
CXH17:=ema(CXH16,10);
CXH18:=((3 * CXH16) - (2 * CXH17));
CXH19:=(((飞龙顶底线 + CXH6) + CXHd) + CXH16);
CXH1a:=(((CXH2 + CXH7) + CXHe) + CXH17);
CXH1b:=(((CXH3 + CXH8) + CXHf) + CXH18);
CXH1c:=(((high + low) + close) / 3);
CXH1d:=((amount / vol) / 100);
CXH1e:=((sum(amount,5) / sum(vol,5)) / 100);
CXH1f:=((CXH1c - ma(CXH1c,34)) / (0.015 * avedev(CXH1c,34)));
CXH20:=dma(((amount / vol) / 100),(vol / capital));
CXH21:=((((high + low) + close) + CXH1c) / 4);
CXH22:=ema(CXH21,24);
CXH23:=std(CXH21,24);
CXH24:=(((CXH21 - CXH22) / CXH23) * 100);
CXH25:=((CXH1c - ma(CXH1c,24)) / (0.015 * avedev(CXH1c,24)));
CXH26:=ema(CXH24,5);
CXH27:=((CXH1d - ma(CXH1d,21)) / (0.015 * avedev(CXH1d,21)));
CXH28:=((CXH1e - ma(CXH1e,90)) / (0.015 * avedev(CXH1e,90)));
CXH29:=(((((((CXH28 + CXH27) + CXH26) + CXH25) + CXH1f) / 5) + 165) / 4);
CXH2a:=(((((CXH19 + CXH1a) + (CXH1b * 30)) / 32) / 5) - 15);
CXH2b:=(((CXH29 + CXH2a) / 2) / 1.1);
CXH2c:=CXH2b;
短线:=ma(CXH2c,26);
mid:=(短线 + (2 * std(CXH2c,26)));
upper:=(短线 - (2 * std(CXH2c,26)));
lower:=if((CXH2c > 短线),短线,CXH2c);
xy:=ma(close,5);
ma5:=ma(close,80);
短期底部:(llv(high,30) * 0.93),color0000ff;
ma80:=llv(high,30);
短期底部二:=sma(close,2,1);
趋势:=(ma(low,10) * 0.96);
趋:=(ema(open,107) * 0.897);
超跌位二:=ma(close,15);
gf:=ma(close,10);
man:=(sma(high,21,2) * 1.05);
上一:=(hhv(短底,60) * 0.92);
压力二:=(sma(high,21,2) * 1.035);
阻挡线:=(sma(low,21,2) * 0.96);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv:=sma(下档线,3,1);
k:=sma(rsv,3,1);
d:=((3 * rsv) - (2 * k));
j:=(((close - ma(close,6)) / ma(close,6)) * 100);
CXH2p:=(((close - ma(close,12)) / ma(close,12)) * 100);
CXH3p:=(((close - ma(close,24)) / ma(close,24)) * 100);
CXH4p:=(((j + (2 * CXH2p)) + (3 * CXH3p)) / 6);
CXH5p:=ma(CXH4p,3);
CXH6p:=(((close - llv(low,34)) / (hhv(high,34) - llv(low,34))) * 100);
rsv12:=sma(CXH6p,3,1);
k12:=sma(rsv12,3,1);
d12:=((3 * rsv12) - (2 * k12));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
{j24:=if(cross(d,d24),low,ref(low,barslast(cross(d,d24))));}
压力位:if(cross(d24,d),high,l),pointdot,colorffffff;
支撑位:=if((close >= ma(close,20)),80,50);
u2l:=if((close >= ma(close,20)),50,20);
{l2l:=if(((d < 支撑位) and (ref(d,1) >= 支撑位)),hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),ref(hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),barslast(((d < 支撑位) and ref(d,1)))));
rh1:=if((high > l2l),low,ref(low,barslast((high > l2l))));
rh4:=if((high > l2l),d,ref(d,barslast((high > l2l))));
rh42:=if((((high > rh1) and (d < rh4)) and (d < d24)),high,ref(high,barslast((((high > rh1) and (d < rh4)) and (d < d24)))));
rh5:=if(((d > u2l) and (ref(d,1) <= u2l)),llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),ref(llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),barslast(((d > u2l) and ref(d,1)))));
rl1:=if((low < rh5),high,ref(high,barslast((low < rh5))));
rl4:=if((low < rh5),d,ref(d,barslast((low < rh5))));
rl42:=if((((low < rl1) and (d > rl4)) and (d > d24)),low,ref(low,barslast((((low < rl1) and (d > rl4)) and (d > d24)))));}
长期底部:llv(high,30),color00ff00;
{drawtext(filter(((((rl42 = j24) and (close > open)) and (close > 长期底部)) and (low <= j24)),20),(low - 0.12),'←底成'),color0eabff;}
rl5:=(sma(high,5,2) * 1.05);
上:=(sma(low,5,2) * 0.96);
下:=sma(low,2,1);
{drawtext(filter((((((low <= 压力位) and (winner(close) <= 0.07)) and (close >= 压力位)) and (close < 上1)) and ((close / open) > 1.02)),3),low,'追'),color936ef0;}
中:=(((((3 * close) + high) + low) + open) / 6);
x1:=ema(中,10);
x2:=ref(x1,1);
x3:=((ref(high,1) + ref(low,1)) / 2);
x4:=(ma(close,21) + (2 * std(close,21)));
x5:=ref(close,1);
x6:=((sma(max((close - x5),0),7,1) / sma(abs((close - x5)),7,1)) * 100);
x7:=cross(79,x6);
x8:=filter(x7,4);
x9:=ma(close,115);
CXH1m:=ema(close,8);
飞龙顶底线一:=ema(CXH1m,20);
CXH2m:=cross(CXH1m,飞龙顶底线一);
CXH3m:=(CXH1m < ma(close,20));
CXH4m:=(((hhv(high,36) - close) / (hhv(high,36) - llv(low,36))) * 100);
CXH5m:=sma(CXH4m,5,1);
CXH6m:=sma(CXH5m,8,1);
CXH7m:=(cross(CXH5m,CXH6m) and (CXH6m < 5));
CXH8m:=((close > (llv(close,60) + (0.3 * llv(close,60)))) and CXH7m);
CXH9m:=if((close > 1000),CXH7m,CXH8m);
CXHfm:=cross(x1,x2);
ma115:=CXHfm;
低买:=(CXH2m and CXH3m);
黑马起步:=CXH9m;
drawtext(x8,(high * 1.03),'←出货'),color9000f5;
drawtext((黑马起步 > 0),(high * 1.04),'←逃命'),color0000ff;
逃遁:=(sma(high,21,2) * 1.05);
stickline((open >= close),close,open,9,0),colorff5b00;
stickline((open >= close),close,open,8,0),colorff6c00;
stickline((open >= close),close,open,7,0),colorff7b00;
stickline((open >= close),close,open,6,0),colorff9c00;
stickline((open >= close),close,open,5,0),colorffbe00;
stickline((open >= close),close,open,3.5,0),colorffcc00;
stickline((open >= close),close,open,1.5,0),colorffff00;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容