最牛rsi指标公式源码(srsi相对强弱指标怎么设置?)
1. srsi相对强弱指标怎么设置?
srsi相对强弱指标设置方法
相对强弱指数(srsi)是通过比较一段时期内的平均收盘涨数和平均收盘跌数来分析市场买沽盘的意向和实力,从而作出未来市场的走势。
srsi指标参数通常设置为7、14和21。如果RSI指标出现7日线上穿14日线和14日线上穿21日线的黄金交叉,并且RSI三线呈现出多头排列,表明RSI指标已经完成了买入信号的提示作用观察成交量变化当RSI指标符合上述技术要求时,投资者需要观察成交量的动向
2. srsi相对强弱指标怎么设置?
srsi相对强弱指标设置方法
相对强弱指数(srsi)是通过比较一段时期内的平均收盘涨数和平均收盘跌数来分析市场买沽盘的意向和实力,从而作出未来市场的走势。
srsi指标参数通常设置为7、14和21。如果RSI指标出现7日线上穿14日线和14日线上穿21日线的黄金交叉,并且RSI三线呈现出多头排列,表明RSI指标已经完成了买入信号的提示作用观察成交量变化当RSI指标符合上述技术要求时,投资者需要观察成交量的动向
3. 连出三次买入信号选股指标源码?
以下是连出三次买入信号选股指标的源代码:
```
//@version=4
study("Triple Buy Signal Indicator", overlay=true)
// Input parameters
fastMA = input(title="Fast MA Period", type=input.integer, defval=5)
slowMA = input(title="Slow MA Period", type=input.integer, defval=20)
rsiPeriod = input(title="RSI Period", type=input.integer, defval=14)
oversoldLevel = input(title="Oversold Level", type=input.integer, defval=30)
overboughtLevel = input(title="Overbought Level", type=input.integer, defval=70)
// Calculate moving averages
fastMAVal = ema(close, fastMA)
slowMAVal = ema(close, slowMA)
// Calculate RSI
rsiVal = rsi(close, rsiPeriod)
// Determine trends
bullishTrend = fastMAVal > slowMAVal
bearishTrend = fastMAVal < slowMAVal
// Determine buy signals
firstBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal < oversoldLevel
secondBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > oversoldLevel and bullishTrend
thirdBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > overboughtLevel and bullishTrend
// Plot buy signals
plotshape(firstBuySignal, style=shape.triangleup, size=size.tiny, color=color.green, location=location.belowbar, text="1")
plotshape(secondBuySignal, style=shape.triangleup, size=size.tiny, color=color.blue, location=location.belowbar, text="2")
plotshape(thirdBuySignal, style=shape.triangleup, size=size.tiny, color=color.yellow, location=location.belowbar, text="3")
```
该指标使用移动平均线和相对强弱指数(RSI)来确定股票价格的趋势。在快速移动平均线越过慢速移动平均线时,如果RSI在某些程度上已超卖,则会触发第一次买入信号。在此之后,当RSI回到区间高处并且股票价格保持在快速移动平均线上方时,会触发第二次买入信号。在连续两次买入信号后,如果RSI仍然高于超买水平并且股票价格继续保持在快速移动平均线上方,会触发第三次买入信号。这三个买入信号的颜色和文本都不同,以便区分。
4. 连出三次买入信号选股指标源码?
以下是连出三次买入信号选股指标的源代码:
```
//@version=4
study("Triple Buy Signal Indicator", overlay=true)
// Input parameters
fastMA = input(title="Fast MA Period", type=input.integer, defval=5)
slowMA = input(title="Slow MA Period", type=input.integer, defval=20)
rsiPeriod = input(title="RSI Period", type=input.integer, defval=14)
oversoldLevel = input(title="Oversold Level", type=input.integer, defval=30)
overboughtLevel = input(title="Overbought Level", type=input.integer, defval=70)
// Calculate moving averages
fastMAVal = ema(close, fastMA)
slowMAVal = ema(close, slowMA)
// Calculate RSI
rsiVal = rsi(close, rsiPeriod)
// Determine trends
bullishTrend = fastMAVal > slowMAVal
bearishTrend = fastMAVal < slowMAVal
// Determine buy signals
firstBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal < oversoldLevel
secondBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > oversoldLevel and bullishTrend
thirdBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > overboughtLevel and bullishTrend
// Plot buy signals
plotshape(firstBuySignal, style=shape.triangleup, size=size.tiny, color=color.green, location=location.belowbar, text="1")
plotshape(secondBuySignal, style=shape.triangleup, size=size.tiny, color=color.blue, location=location.belowbar, text="2")
plotshape(thirdBuySignal, style=shape.triangleup, size=size.tiny, color=color.yellow, location=location.belowbar, text="3")
```
该指标使用移动平均线和相对强弱指数(RSI)来确定股票价格的趋势。在快速移动平均线越过慢速移动平均线时,如果RSI在某些程度上已超卖,则会触发第一次买入信号。在此之后,当RSI回到区间高处并且股票价格保持在快速移动平均线上方时,会触发第二次买入信号。在连续两次买入信号后,如果RSI仍然高于超买水平并且股票价格继续保持在快速移动平均线上方,会触发第三次买入信号。这三个买入信号的颜色和文本都不同,以便区分。
5. zxzs是什么图形指标?
1、ZXZS是一种技术分析指标。2、其全称为“主升浪指标”,是对股票价格走势进行分析的一种方法。ZXZS主要通过计算股票价格的周期波动来确定股票的未来走势。3、除了ZXZS指标之外,常见的股票技术分析指标还有:MACD指标、KDJ指标、RSI指标等。它们是股票投资者必备的重要工具,可以帮助投资者更加准确地判断股票价格的走势,从而做出更合理的投资决策。
6. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
{N--参数自己设置。通达信已通过测试}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));AA2:=REF(CCI,3)=LLV(CCI,2*3+1);BB2:=BACKSET(AA2,3+1);CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);AA2A:=BARSLAST(REF(CC2,1));CCI底背离:REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;
7. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
{N--参数自己设置。通达信已通过测试}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));AA2:=REF(CCI,3)=LLV(CCI,2*3+1);BB2:=BACKSET(AA2,3+1);CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);AA2A:=BARSLAST(REF(CC2,1));CCI底背离:REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;
8. 经典rsi指标源码?
飞狐经典趋势RSI指标公式源码
均价:=(2*C+(H-L)/2+L+o)/4;
LC:=REF(均价,1);
rsi24:=((((SMA(MAX((均价- LC),0),24,1) / SMA(ABS((均价- LC)),24,1)) * 100) ));
rsi48:=((((SMA(MAX((均价- LC),0),48,1) / SMA(ABS((均价- LC)),48,1)) * 100)));
rsi72:=((((SMA(MAX((均价- LC),0),72,1) / SMA(ABS((均价- LC)),72,1)) * 100)));
趋势:EMA(((((rsi24+ rsi48) / 2) - rsi72) )*10,18),COLOR0000FF,LINETHICK2;
MA3:=EMA(趋势,3);
PARTLINE(趋势<MA3,趋势),COLOR00AA99,LINETHICK2;
界:STICKLINE(C>0,0,0,6,0);
9. srsi相对强弱指标怎么设置?
srsi相对强弱指标设置方法
相对强弱指数(srsi)是通过比较一段时期内的平均收盘涨数和平均收盘跌数来分析市场买沽盘的意向和实力,从而作出未来市场的走势。
srsi指标参数通常设置为7、14和21。如果RSI指标出现7日线上穿14日线和14日线上穿21日线的黄金交叉,并且RSI三线呈现出多头排列,表明RSI指标已经完成了买入信号的提示作用观察成交量变化当RSI指标符合上述技术要求时,投资者需要观察成交量的动向
10. 连出三次买入信号选股指标源码?
以下是连出三次买入信号选股指标的源代码:
```
//@version=4
study("Triple Buy Signal Indicator", overlay=true)
// Input parameters
fastMA = input(title="Fast MA Period", type=input.integer, defval=5)
slowMA = input(title="Slow MA Period", type=input.integer, defval=20)
rsiPeriod = input(title="RSI Period", type=input.integer, defval=14)
oversoldLevel = input(title="Oversold Level", type=input.integer, defval=30)
overboughtLevel = input(title="Overbought Level", type=input.integer, defval=70)
// Calculate moving averages
fastMAVal = ema(close, fastMA)
slowMAVal = ema(close, slowMA)
// Calculate RSI
rsiVal = rsi(close, rsiPeriod)
// Determine trends
bullishTrend = fastMAVal > slowMAVal
bearishTrend = fastMAVal < slowMAVal
// Determine buy signals
firstBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal < oversoldLevel
secondBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > oversoldLevel and bullishTrend
thirdBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > overboughtLevel and bullishTrend
// Plot buy signals
plotshape(firstBuySignal, style=shape.triangleup, size=size.tiny, color=color.green, location=location.belowbar, text="1")
plotshape(secondBuySignal, style=shape.triangleup, size=size.tiny, color=color.blue, location=location.belowbar, text="2")
plotshape(thirdBuySignal, style=shape.triangleup, size=size.tiny, color=color.yellow, location=location.belowbar, text="3")
```
该指标使用移动平均线和相对强弱指数(RSI)来确定股票价格的趋势。在快速移动平均线越过慢速移动平均线时,如果RSI在某些程度上已超卖,则会触发第一次买入信号。在此之后,当RSI回到区间高处并且股票价格保持在快速移动平均线上方时,会触发第二次买入信号。在连续两次买入信号后,如果RSI仍然高于超买水平并且股票价格继续保持在快速移动平均线上方,会触发第三次买入信号。这三个买入信号的颜色和文本都不同,以便区分。
11. 经典rsi指标源码?
飞狐经典趋势RSI指标公式源码
均价:=(2*C+(H-L)/2+L+o)/4;
LC:=REF(均价,1);
rsi24:=((((SMA(MAX((均价- LC),0),24,1) / SMA(ABS((均价- LC)),24,1)) * 100) ));
rsi48:=((((SMA(MAX((均价- LC),0),48,1) / SMA(ABS((均价- LC)),48,1)) * 100)));
rsi72:=((((SMA(MAX((均价- LC),0),72,1) / SMA(ABS((均价- LC)),72,1)) * 100)));
趋势:EMA(((((rsi24+ rsi48) / 2) - rsi72) )*10,18),COLOR0000FF,LINETHICK2;
MA3:=EMA(趋势,3);
PARTLINE(趋势<MA3,趋势),COLOR00AA99,LINETHICK2;
界:STICKLINE(C>0,0,0,6,0);
12. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
TYP:=(HIGH+LOW+CLOSE)/3;
CCI雷达:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(CROSS(CCI雷达,-100),CCI*0.9,'买');
DRAWTEXT(CROSS(100,CCI雷达),CCI*1.1,'卖');
DRAWICON(CROSS(CCI雷达,-100),CCI*0.99,1);
DRAWICON(CROSS(100,CCI雷达),CCI*1.008,2);
13. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
TYP:=(HIGH+LOW+CLOSE)/3;
CCI雷达:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(CROSS(CCI雷达,-100),CCI*0.9,'买');
DRAWTEXT(CROSS(100,CCI雷达),CCI*1.1,'卖');
DRAWICON(CROSS(CCI雷达,-100),CCI*0.99,1);
DRAWICON(CROSS(100,CCI雷达),CCI*1.008,2);
14. zxzs是什么图形指标?
1、ZXZS是一种技术分析指标。2、其全称为“主升浪指标”,是对股票价格走势进行分析的一种方法。ZXZS主要通过计算股票价格的周期波动来确定股票的未来走势。3、除了ZXZS指标之外,常见的股票技术分析指标还有:MACD指标、KDJ指标、RSI指标等。它们是股票投资者必备的重要工具,可以帮助投资者更加准确地判断股票价格的走势,从而做出更合理的投资决策。
15. mse成交量指标公式源码?
LC:=REF(C,1);
VVA:=IF(C>REF(C,1),V,-V);
OBV18:=SUM(IF(C=REF(C,1),0,VVA),18);
XXV:=IF(C>LC,SUM(V,18),0),COLOR0000CC;
YYV:=IF(C<LC,SUM(V,18),0),COLOR00CC00;
SS0:=IF(C>LC,HHV(REF(V,1),18),0);
SS1:=IF(C<LC,HHV(REF(V,1),18),0);
CCI:=((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,COLORFFCCCC;
RSI:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,COLORCC9900;
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),COLOR00CCCC;
D9:=SMA(K9,3,1),COLOR00CC00;
J:=3*K9-2*D9,COLORFF3399,LINETHICK1;
VAR01:=DYNAINFO(17)*REF(MA(V,5),1);
VAR02:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
预V1:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR01,VAR02);
预量:=IF(V>=预V1,V,预V1);
VA:=IF(C>REF(C,1),预量,-预量);
换手率:10000*VOL/FINANCE(7),NODRAW,COLORRED;
周换手率:SUM(VOL/CAPITAL*100,5);
月换手率:SUM(VOL/CAPITAL*100,20);
WOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
主力启动线:MA(VOLUME,5),COLORRED;
主力洗盘线:MA(VOLUME,35),COLORYELLOW;
生命线:=MA(VOLUME,10);
资金异动线:MA(VOLUME,135),COLORGREEN;
AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);
AAA:=VOL>=REF(V,1)*4 && C>REF(C,1);
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.51 ;
AA5:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AAA,0,V,1,0),COLORMAGENTA;
STICKLINE(AA1,0,V,2,0),COLORMAGENTA;
STICKLINE(AA2,0,V,2,0),COLORRED;
STICKLINE(AA3,0,V,2,0),COLORWHITE;
STICKLINE(AA4,0,V,2,0),COLOR22A6E6;
STICKLINE(AA5,0,V,2,0),COLORGREEN;
地量:=VOL<=REF(LLV(VOL,13),1);
XG:=COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL*0.5,'买'),COLORYELLOW;
VAR2:=1*AMOUNT;
三十日天量:=HHV(VAR2,30)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
STICKLINE(三十日天量,VOLUME,VOLUME*0.7,1,0),COLORMAGENTA;
DRAWTEXT(三十日天量,VOL*0.70,'----30'),COLORMAGENTA;
STICKLINE(六十日天量,VOLUME,VOLUME*0.7,1.5,0),COLORWHITE;
DRAWTEXT(六十日天量,VOL*0.8,'----60'),COLORWHITE;
STICKLINE(百日天量,VOLUME,VOLUME*0.7,1.5,0),COLORGREEN;
DRAWTEXT(百日天量,VOL*0.88,'----100'),COLORGREEN;
STICKLINE(一年天量,VOLUME,VOLUME*0.7,1,0),COLORRED;
DRAWTEXT(一年天量,VOL*1.0,'----250'),COLORRED;
获利盘:=WINNER(C)*100;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
BB5:=获利盘<=1;
STICKLINE(BB5,0,V,0.5,0),COLORBLUE;
16. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
TYP:=(HIGH+LOW+CLOSE)/3;
CCI雷达:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(CROSS(CCI雷达,-100),CCI*0.9,'买');
DRAWTEXT(CROSS(100,CCI雷达),CCI*1.1,'卖');
DRAWICON(CROSS(CCI雷达,-100),CCI*0.99,1);
DRAWICON(CROSS(100,CCI雷达),CCI*1.008,2);
17. srsi相对强弱指标怎么设置?
srsi相对强弱指标设置方法
相对强弱指数(srsi)是通过比较一段时期内的平均收盘涨数和平均收盘跌数来分析市场买沽盘的意向和实力,从而作出未来市场的走势。
srsi指标参数通常设置为7、14和21。如果RSI指标出现7日线上穿14日线和14日线上穿21日线的黄金交叉,并且RSI三线呈现出多头排列,表明RSI指标已经完成了买入信号的提示作用观察成交量变化当RSI指标符合上述技术要求时,投资者需要观察成交量的动向
18. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
{N--参数自己设置。通达信已通过测试}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));AA2:=REF(CCI,3)=LLV(CCI,2*3+1);BB2:=BACKSET(AA2,3+1);CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);AA2A:=BARSLAST(REF(CC2,1));CCI底背离:REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;
19. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
TYP:=(HIGH+LOW+CLOSE)/3;
CCI雷达:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(CROSS(CCI雷达,-100),CCI*0.9,'买');
DRAWTEXT(CROSS(100,CCI雷达),CCI*1.1,'卖');
DRAWICON(CROSS(CCI雷达,-100),CCI*0.99,1);
DRAWICON(CROSS(100,CCI雷达),CCI*1.008,2);
20. zxzs是什么图形指标?
1、ZXZS是一种技术分析指标。2、其全称为“主升浪指标”,是对股票价格走势进行分析的一种方法。ZXZS主要通过计算股票价格的周期波动来确定股票的未来走势。3、除了ZXZS指标之外,常见的股票技术分析指标还有:MACD指标、KDJ指标、RSI指标等。它们是股票投资者必备的重要工具,可以帮助投资者更加准确地判断股票价格的走势,从而做出更合理的投资决策。
21. 经典rsi指标源码?
飞狐经典趋势RSI指标公式源码
均价:=(2*C+(H-L)/2+L+o)/4;
LC:=REF(均价,1);
rsi24:=((((SMA(MAX((均价- LC),0),24,1) / SMA(ABS((均价- LC)),24,1)) * 100) ));
rsi48:=((((SMA(MAX((均价- LC),0),48,1) / SMA(ABS((均价- LC)),48,1)) * 100)));
rsi72:=((((SMA(MAX((均价- LC),0),72,1) / SMA(ABS((均价- LC)),72,1)) * 100)));
趋势:EMA(((((rsi24+ rsi48) / 2) - rsi72) )*10,18),COLOR0000FF,LINETHICK2;
MA3:=EMA(趋势,3);
PARTLINE(趋势<MA3,趋势),COLOR00AA99,LINETHICK2;
界:STICKLINE(C>0,0,0,6,0);
22. cmo指标公式源码?
CMO指标由Thomas Aspray于1989 年提出,是一种走势指标,可以帮助投资者识别行情的买卖趋势。CMO指标公式: CMO=(收盘价上涨日数累计收益率-收盘价下跌日数累计收益率)/(收盘价上涨日数累计收益率+收盘价下跌日数累计收益率)。CMO指标可以帮助投资者识别行情的买卖趋势,可以通过分析CMO指标的值来判断买卖趋势,如果CMO指标的值大于50,表明行情处于上升趋势,可以做多;反之,如果CMO指标的值小于50,表明行情处于下降趋势,需要控制风险可以考虑做空。因此,CMO指标公式可以帮助投资者有效判断买卖趋势,可以有效提升投资成功率。
23. mse成交量指标公式源码?
LC:=REF(C,1);
VVA:=IF(C>REF(C,1),V,-V);
OBV18:=SUM(IF(C=REF(C,1),0,VVA),18);
XXV:=IF(C>LC,SUM(V,18),0),COLOR0000CC;
YYV:=IF(C<LC,SUM(V,18),0),COLOR00CC00;
SS0:=IF(C>LC,HHV(REF(V,1),18),0);
SS1:=IF(C<LC,HHV(REF(V,1),18),0);
CCI:=((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,COLORFFCCCC;
RSI:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,COLORCC9900;
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),COLOR00CCCC;
D9:=SMA(K9,3,1),COLOR00CC00;
J:=3*K9-2*D9,COLORFF3399,LINETHICK1;
VAR01:=DYNAINFO(17)*REF(MA(V,5),1);
VAR02:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
预V1:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR01,VAR02);
预量:=IF(V>=预V1,V,预V1);
VA:=IF(C>REF(C,1),预量,-预量);
换手率:10000*VOL/FINANCE(7),NODRAW,COLORRED;
周换手率:SUM(VOL/CAPITAL*100,5);
月换手率:SUM(VOL/CAPITAL*100,20);
WOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
主力启动线:MA(VOLUME,5),COLORRED;
主力洗盘线:MA(VOLUME,35),COLORYELLOW;
生命线:=MA(VOLUME,10);
资金异动线:MA(VOLUME,135),COLORGREEN;
AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);
AAA:=VOL>=REF(V,1)*4 && C>REF(C,1);
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.51 ;
AA5:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AAA,0,V,1,0),COLORMAGENTA;
STICKLINE(AA1,0,V,2,0),COLORMAGENTA;
STICKLINE(AA2,0,V,2,0),COLORRED;
STICKLINE(AA3,0,V,2,0),COLORWHITE;
STICKLINE(AA4,0,V,2,0),COLOR22A6E6;
STICKLINE(AA5,0,V,2,0),COLORGREEN;
地量:=VOL<=REF(LLV(VOL,13),1);
XG:=COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL*0.5,'买'),COLORYELLOW;
VAR2:=1*AMOUNT;
三十日天量:=HHV(VAR2,30)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
STICKLINE(三十日天量,VOLUME,VOLUME*0.7,1,0),COLORMAGENTA;
DRAWTEXT(三十日天量,VOL*0.70,'----30'),COLORMAGENTA;
STICKLINE(六十日天量,VOLUME,VOLUME*0.7,1.5,0),COLORWHITE;
DRAWTEXT(六十日天量,VOL*0.8,'----60'),COLORWHITE;
STICKLINE(百日天量,VOLUME,VOLUME*0.7,1.5,0),COLORGREEN;
DRAWTEXT(百日天量,VOL*0.88,'----100'),COLORGREEN;
STICKLINE(一年天量,VOLUME,VOLUME*0.7,1,0),COLORRED;
DRAWTEXT(一年天量,VOL*1.0,'----250'),COLORRED;
获利盘:=WINNER(C)*100;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
BB5:=获利盘<=1;
STICKLINE(BB5,0,V,0.5,0),COLORBLUE;
24. mse成交量指标公式源码?
LC:=REF(C,1);
VVA:=IF(C>REF(C,1),V,-V);
OBV18:=SUM(IF(C=REF(C,1),0,VVA),18);
XXV:=IF(C>LC,SUM(V,18),0),COLOR0000CC;
YYV:=IF(C<LC,SUM(V,18),0),COLOR00CC00;
SS0:=IF(C>LC,HHV(REF(V,1),18),0);
SS1:=IF(C<LC,HHV(REF(V,1),18),0);
CCI:=((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,COLORFFCCCC;
RSI:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,COLORCC9900;
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),COLOR00CCCC;
D9:=SMA(K9,3,1),COLOR00CC00;
J:=3*K9-2*D9,COLORFF3399,LINETHICK1;
VAR01:=DYNAINFO(17)*REF(MA(V,5),1);
VAR02:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
预V1:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR01,VAR02);
预量:=IF(V>=预V1,V,预V1);
VA:=IF(C>REF(C,1),预量,-预量);
换手率:10000*VOL/FINANCE(7),NODRAW,COLORRED;
周换手率:SUM(VOL/CAPITAL*100,5);
月换手率:SUM(VOL/CAPITAL*100,20);
WOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
主力启动线:MA(VOLUME,5),COLORRED;
主力洗盘线:MA(VOLUME,35),COLORYELLOW;
生命线:=MA(VOLUME,10);
资金异动线:MA(VOLUME,135),COLORGREEN;
AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);
AAA:=VOL>=REF(V,1)*4 && C>REF(C,1);
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.51 ;
AA5:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AAA,0,V,1,0),COLORMAGENTA;
STICKLINE(AA1,0,V,2,0),COLORMAGENTA;
STICKLINE(AA2,0,V,2,0),COLORRED;
STICKLINE(AA3,0,V,2,0),COLORWHITE;
STICKLINE(AA4,0,V,2,0),COLOR22A6E6;
STICKLINE(AA5,0,V,2,0),COLORGREEN;
地量:=VOL<=REF(LLV(VOL,13),1);
XG:=COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL*0.5,'买'),COLORYELLOW;
VAR2:=1*AMOUNT;
三十日天量:=HHV(VAR2,30)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
STICKLINE(三十日天量,VOLUME,VOLUME*0.7,1,0),COLORMAGENTA;
DRAWTEXT(三十日天量,VOL*0.70,'----30'),COLORMAGENTA;
STICKLINE(六十日天量,VOLUME,VOLUME*0.7,1.5,0),COLORWHITE;
DRAWTEXT(六十日天量,VOL*0.8,'----60'),COLORWHITE;
STICKLINE(百日天量,VOLUME,VOLUME*0.7,1.5,0),COLORGREEN;
DRAWTEXT(百日天量,VOL*0.88,'----100'),COLORGREEN;
STICKLINE(一年天量,VOLUME,VOLUME*0.7,1,0),COLORRED;
DRAWTEXT(一年天量,VOL*1.0,'----250'),COLORRED;
获利盘:=WINNER(C)*100;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
BB5:=获利盘<=1;
STICKLINE(BB5,0,V,0.5,0),COLORBLUE;
25. 经典rsi指标源码?
飞狐经典趋势RSI指标公式源码
均价:=(2*C+(H-L)/2+L+o)/4;
LC:=REF(均价,1);
rsi24:=((((SMA(MAX((均价- LC),0),24,1) / SMA(ABS((均价- LC)),24,1)) * 100) ));
rsi48:=((((SMA(MAX((均价- LC),0),48,1) / SMA(ABS((均价- LC)),48,1)) * 100)));
rsi72:=((((SMA(MAX((均价- LC),0),72,1) / SMA(ABS((均价- LC)),72,1)) * 100)));
趋势:EMA(((((rsi24+ rsi48) / 2) - rsi72) )*10,18),COLOR0000FF,LINETHICK2;
MA3:=EMA(趋势,3);
PARTLINE(趋势<MA3,趋势),COLOR00AA99,LINETHICK2;
界:STICKLINE(C>0,0,0,6,0);
26. cci指标源码公式?
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6, 0),COLORGREEN,LINETHICK0;
PARTLINE(VAR6,VAR1=VAR6),COLORGREEN;
TJ1:= CCI1>差值4;
立桩量:=FILTER(TJ1,0){,NODRAW};
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
{STICKLINE(立桩量 <>1,REF(HIGH,BARSLAST(立桩量)),
REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;}
成立1:=TJ2=1;
条件成立1:=FILTER(成立1,5);
DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORBLUE;
TJ11:= CCI1<-差值4 ;
立桩量2:=FILTER(TJ11,0){,NODRAW};
TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);
突破2:=TJ22=1;
{STICKLINE(CLOSE AND (下跌<> VAR6),REF(LOW,BARSLAST(立桩量2)),
REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;}
TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=TJ=1;
条件成立2:=FILTER(成立2,5);
DRAWTEXT(条件成立2,REF(LOW,BARSLAST(立桩量2)),'看涨'),COLORMAGENTA;
TJ111:=ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5);
立桩量3:=FILTER(TJ111,3);
TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
成立:=TJ3=1;
条件成立:=FILTER(成立,5);
DRAWTEXT(条件成立 AND 下跌<> VAR6,L*0.97,'☆成立');
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),BBF,'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
27. cci升级指标公式?
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿逃顶线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI),100,'下穿强势力线'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿弱势线'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿抄底线'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
差值:=CCI70-REF(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK4;
逃顶线:200,COLORGREEN;
强势线:100,COLORRED,LINETHICK2;
中轴线:0,COLORYELLOW,LINETHICK1;
抄底线:-100,COLORLIRED;
弱势线:-200,COLORGREEN;
DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);
DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);
28. cci升级指标公式?
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿逃顶线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI),100,'下穿强势力线'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿弱势线'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿抄底线'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
差值:=CCI70-REF(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK4;
逃顶线:200,COLORGREEN;
强势线:100,COLORRED,LINETHICK2;
中轴线:0,COLORYELLOW,LINETHICK1;
抄底线:-100,COLORLIRED;
弱势线:-200,COLORGREEN;
DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);
DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);
29. cci升级指标公式?
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿逃顶线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI),100,'下穿强势力线'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿弱势线'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿抄底线'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
差值:=CCI70-REF(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK4;
逃顶线:200,COLORGREEN;
强势线:100,COLORRED,LINETHICK2;
中轴线:0,COLORYELLOW,LINETHICK1;
抄底线:-100,COLORLIRED;
弱势线:-200,COLORGREEN;
DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);
DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);
30. mse成交量指标公式源码?
LC:=REF(C,1);
VVA:=IF(C>REF(C,1),V,-V);
OBV18:=SUM(IF(C=REF(C,1),0,VVA),18);
XXV:=IF(C>LC,SUM(V,18),0),COLOR0000CC;
YYV:=IF(C<LC,SUM(V,18),0),COLOR00CC00;
SS0:=IF(C>LC,HHV(REF(V,1),18),0);
SS1:=IF(C<LC,HHV(REF(V,1),18),0);
CCI:=((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,COLORFFCCCC;
RSI:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,COLORCC9900;
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),COLOR00CCCC;
D9:=SMA(K9,3,1),COLOR00CC00;
J:=3*K9-2*D9,COLORFF3399,LINETHICK1;
VAR01:=DYNAINFO(17)*REF(MA(V,5),1);
VAR02:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
预V1:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR01,VAR02);
预量:=IF(V>=预V1,V,预V1);
VA:=IF(C>REF(C,1),预量,-预量);
换手率:10000*VOL/FINANCE(7),NODRAW,COLORRED;
周换手率:SUM(VOL/CAPITAL*100,5);
月换手率:SUM(VOL/CAPITAL*100,20);
WOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
主力启动线:MA(VOLUME,5),COLORRED;
主力洗盘线:MA(VOLUME,35),COLORYELLOW;
生命线:=MA(VOLUME,10);
资金异动线:MA(VOLUME,135),COLORGREEN;
AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);
AAA:=VOL>=REF(V,1)*4 && C>REF(C,1);
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;
AA4:=VOL<=REF(V,1)*0.51 ;
AA5:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AAA,0,V,1,0),COLORMAGENTA;
STICKLINE(AA1,0,V,2,0),COLORMAGENTA;
STICKLINE(AA2,0,V,2,0),COLORRED;
STICKLINE(AA3,0,V,2,0),COLORWHITE;
STICKLINE(AA4,0,V,2,0),COLOR22A6E6;
STICKLINE(AA5,0,V,2,0),COLORGREEN;
地量:=VOL<=REF(LLV(VOL,13),1);
XG:=COUNT(地量>0,3)=3;
DRAWTEXT(XG ,VOL*0.5,'买'),COLORYELLOW;
VAR2:=1*AMOUNT;
三十日天量:=HHV(VAR2,30)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
STICKLINE(三十日天量,VOLUME,VOLUME*0.7,1,0),COLORMAGENTA;
DRAWTEXT(三十日天量,VOL*0.70,'----30'),COLORMAGENTA;
STICKLINE(六十日天量,VOLUME,VOLUME*0.7,1.5,0),COLORWHITE;
DRAWTEXT(六十日天量,VOL*0.8,'----60'),COLORWHITE;
STICKLINE(百日天量,VOLUME,VOLUME*0.7,1.5,0),COLORGREEN;
DRAWTEXT(百日天量,VOL*0.88,'----100'),COLORGREEN;
STICKLINE(一年天量,VOLUME,VOLUME*0.7,1,0),COLORRED;
DRAWTEXT(一年天量,VOL*1.0,'----250'),COLORRED;
获利盘:=WINNER(C)*100;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
BB5:=获利盘<=1;
STICKLINE(BB5,0,V,0.5,0),COLORBLUE;
31. 连出三次买入信号选股指标源码?
以下是连出三次买入信号选股指标的源代码:
```
//@version=4
study("Triple Buy Signal Indicator", overlay=true)
// Input parameters
fastMA = input(title="Fast MA Period", type=input.integer, defval=5)
slowMA = input(title="Slow MA Period", type=input.integer, defval=20)
rsiPeriod = input(title="RSI Period", type=input.integer, defval=14)
oversoldLevel = input(title="Oversold Level", type=input.integer, defval=30)
overboughtLevel = input(title="Overbought Level", type=input.integer, defval=70)
// Calculate moving averages
fastMAVal = ema(close, fastMA)
slowMAVal = ema(close, slowMA)
// Calculate RSI
rsiVal = rsi(close, rsiPeriod)
// Determine trends
bullishTrend = fastMAVal > slowMAVal
bearishTrend = fastMAVal < slowMAVal
// Determine buy signals
firstBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal < oversoldLevel
secondBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > oversoldLevel and bullishTrend
thirdBuySignal = crossover(fastMAVal, slowMAVal) and rsiVal > overboughtLevel and bullishTrend
// Plot buy signals
plotshape(firstBuySignal, style=shape.triangleup, size=size.tiny, color=color.green, location=location.belowbar, text="1")
plotshape(secondBuySignal, style=shape.triangleup, size=size.tiny, color=color.blue, location=location.belowbar, text="2")
plotshape(thirdBuySignal, style=shape.triangleup, size=size.tiny, color=color.yellow, location=location.belowbar, text="3")
```
该指标使用移动平均线和相对强弱指数(RSI)来确定股票价格的趋势。在快速移动平均线越过慢速移动平均线时,如果RSI在某些程度上已超卖,则会触发第一次买入信号。在此之后,当RSI回到区间高处并且股票价格保持在快速移动平均线上方时,会触发第二次买入信号。在连续两次买入信号后,如果RSI仍然高于超买水平并且股票价格继续保持在快速移动平均线上方,会触发第三次买入信号。这三个买入信号的颜色和文本都不同,以便区分。
32. zxzs是什么图形指标?
1、ZXZS是一种技术分析指标。2、其全称为“主升浪指标”,是对股票价格走势进行分析的一种方法。ZXZS主要通过计算股票价格的周期波动来确定股票的未来走势。3、除了ZXZS指标之外,常见的股票技术分析指标还有:MACD指标、KDJ指标、RSI指标等。它们是股票投资者必备的重要工具,可以帮助投资者更加准确地判断股票价格的走势,从而做出更合理的投资决策。
33. cci指标源码公式?
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6, 0),COLORGREEN,LINETHICK0;
PARTLINE(VAR6,VAR1=VAR6),COLORGREEN;
TJ1:= CCI1>差值4;
立桩量:=FILTER(TJ1,0){,NODRAW};
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
{STICKLINE(立桩量 <>1,REF(HIGH,BARSLAST(立桩量)),
REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;}
成立1:=TJ2=1;
条件成立1:=FILTER(成立1,5);
DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORBLUE;
TJ11:= CCI1<-差值4 ;
立桩量2:=FILTER(TJ11,0){,NODRAW};
TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);
突破2:=TJ22=1;
{STICKLINE(CLOSE AND (下跌<> VAR6),REF(LOW,BARSLAST(立桩量2)),
REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;}
TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=TJ=1;
条件成立2:=FILTER(成立2,5);
DRAWTEXT(条件成立2,REF(LOW,BARSLAST(立桩量2)),'看涨'),COLORMAGENTA;
TJ111:=ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5);
立桩量3:=FILTER(TJ111,3);
TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
成立:=TJ3=1;
条件成立:=FILTER(成立,5);
DRAWTEXT(条件成立 AND 下跌<> VAR6,L*0.97,'☆成立');
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),BBF,'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
34. cci指标源码公式?
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6, 0),COLORGREEN,LINETHICK0;
PARTLINE(VAR6,VAR1=VAR6),COLORGREEN;
TJ1:= CCI1>差值4;
立桩量:=FILTER(TJ1,0){,NODRAW};
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
{STICKLINE(立桩量 <>1,REF(HIGH,BARSLAST(立桩量)),
REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;}
成立1:=TJ2=1;
条件成立1:=FILTER(成立1,5);
DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORBLUE;
TJ11:= CCI1<-差值4 ;
立桩量2:=FILTER(TJ11,0){,NODRAW};
TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);
突破2:=TJ22=1;
{STICKLINE(CLOSE AND (下跌<> VAR6),REF(LOW,BARSLAST(立桩量2)),
REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;}
TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=TJ=1;
条件成立2:=FILTER(成立2,5);
DRAWTEXT(条件成立2,REF(LOW,BARSLAST(立桩量2)),'看涨'),COLORMAGENTA;
TJ111:=ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5);
立桩量3:=FILTER(TJ111,3);
TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
成立:=TJ3=1;
条件成立:=FILTER(成立,5);
DRAWTEXT(条件成立 AND 下跌<> VAR6,L*0.97,'☆成立');
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),BBF,'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
35. cmo指标公式源码?
CMO指标由Thomas Aspray于1989 年提出,是一种走势指标,可以帮助投资者识别行情的买卖趋势。CMO指标公式: CMO=(收盘价上涨日数累计收益率-收盘价下跌日数累计收益率)/(收盘价上涨日数累计收益率+收盘价下跌日数累计收益率)。CMO指标可以帮助投资者识别行情的买卖趋势,可以通过分析CMO指标的值来判断买卖趋势,如果CMO指标的值大于50,表明行情处于上升趋势,可以做多;反之,如果CMO指标的值小于50,表明行情处于下降趋势,需要控制风险可以考虑做空。因此,CMO指标公式可以帮助投资者有效判断买卖趋势,可以有效提升投资成功率。
36. cmo指标公式源码?
CMO指标由Thomas Aspray于1989 年提出,是一种走势指标,可以帮助投资者识别行情的买卖趋势。CMO指标公式: CMO=(收盘价上涨日数累计收益率-收盘价下跌日数累计收益率)/(收盘价上涨日数累计收益率+收盘价下跌日数累计收益率)。CMO指标可以帮助投资者识别行情的买卖趋势,可以通过分析CMO指标的值来判断买卖趋势,如果CMO指标的值大于50,表明行情处于上升趋势,可以做多;反之,如果CMO指标的值小于50,表明行情处于下降趋势,需要控制风险可以考虑做空。因此,CMO指标公式可以帮助投资者有效判断买卖趋势,可以有效提升投资成功率。
37. cci升级指标公式?
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
DRAWTEXT(CROSS(200,CCI),250,'下穿逃顶线'),COLORGREEN;
DRAWTEXT(CROSS(100,CCI),100,'下穿强势力线'),COLORGREEN;
DRAWTEXT( CROSS(CCI,-200),-150,'上穿弱势线'),COLORYELLOW;
DRAWTEXT( CROSS(CCI,-100),-100,'上穿抄底线'),COLORFF00FF;
STICKLINE(CCI>0,0,CCI,1,0),COLORRED;
STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;
STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;
CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK4;
差值:=CCI70-REF(CCI70,1);
IF(差值>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(差值<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK4;
逃顶线:200,COLORGREEN;
强势线:100,COLORRED,LINETHICK2;
中轴线:0,COLORYELLOW,LINETHICK1;
抄底线:-100,COLORLIRED;
弱势线:-200,COLORGREEN;
DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,1);
DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,2);
38. cmo指标公式源码?
CMO指标由Thomas Aspray于1989 年提出,是一种走势指标,可以帮助投资者识别行情的买卖趋势。CMO指标公式: CMO=(收盘价上涨日数累计收益率-收盘价下跌日数累计收益率)/(收盘价上涨日数累计收益率+收盘价下跌日数累计收益率)。CMO指标可以帮助投资者识别行情的买卖趋势,可以通过分析CMO指标的值来判断买卖趋势,如果CMO指标的值大于50,表明行情处于上升趋势,可以做多;反之,如果CMO指标的值小于50,表明行情处于下降趋势,需要控制风险可以考虑做空。因此,CMO指标公式可以帮助投资者有效判断买卖趋势,可以有效提升投资成功率。
39. cci指标源码公式?
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6, 0),COLORGREEN,LINETHICK0;
PARTLINE(VAR6,VAR1=VAR6),COLORGREEN;
TJ1:= CCI1>差值4;
立桩量:=FILTER(TJ1,0){,NODRAW};
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
{STICKLINE(立桩量 <>1,REF(HIGH,BARSLAST(立桩量)),
REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;}
成立1:=TJ2=1;
条件成立1:=FILTER(成立1,5);
DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORBLUE;
TJ11:= CCI1<-差值4 ;
立桩量2:=FILTER(TJ11,0){,NODRAW};
TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);
突破2:=TJ22=1;
{STICKLINE(CLOSE AND (下跌<> VAR6),REF(LOW,BARSLAST(立桩量2)),
REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;}
TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=TJ=1;
条件成立2:=FILTER(成立2,5);
DRAWTEXT(条件成立2,REF(LOW,BARSLAST(立桩量2)),'看涨'),COLORMAGENTA;
TJ111:=ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5);
立桩量3:=FILTER(TJ111,3);
TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
成立:=TJ3=1;
条件成立:=FILTER(成立,5);
DRAWTEXT(条件成立 AND 下跌<> VAR6,L*0.97,'☆成立');
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),BBF,'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
40. 请编写CCI底背离选股公式TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); RSI1:=CC?
{N--参数自己设置。通达信已通过测试}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));AA2:=REF(CCI,3)=LLV(CCI,2*3+1);BB2:=BACKSET(AA2,3+1);CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);AA2A:=BARSLAST(REF(CC2,1));CCI底背离:REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;