saraphig

Margin Call MovingAverage

1874浏览
41
The first edition;

This is a tool to calculate BTC long “Margin Call” price line, you can intuitively adjust the leverage multiple to calculate the current “Margin Call” price line position, you can also adjust the average price to see the average“Margin Call” price;

这是一个计算BTC“爆仓”多头价格线的工具,可以直观地调整杠杆倍数来计算当前“爆仓”价格线位置,也可以调整平均价格来查看平均“爆仓”价格
版本注释: Reduce the amount of code; Set the default opening price to increase the intuition
版本注释: Use vwma as price calculation
版本注释: Short burst average!
新增空头爆仓均线!
版本注释: Update the view
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

Pretty cool, i was curious about the indicator so ii would have been great to have more information about it. Note that you can calculate the extremities the with fewer operations using
ma = sma(src,maval)
ma1 = ma*xa/(0.995*xa + 1)
ma2 = ma*xb/(0.995*xb + 1)
ma3 = ma*xc/(0.995*xc + 1)
ma4 = ma*xd/(0.995*xd + 1)
ma5 = ma*xe/(0.995*xe + 1)


Looking forward to your other indicators.
+2 回复
saraphig alexgrover
@alexgrover,I am a newbie; thanks for your tips; Thanks a lot;
回复
Thank you kindly for publishing this indicator as well as sharing the pine script code :)
I like how it works as support and resistance where at times the EMA ribbon does not
awesome idea
I would like this indicator twice if I could !
回复
What are 25,20,15 etc...?
回复
saraphig OutsourcE
@OutsourcE, Futures leverage
回复