OPEN-SOURCE SCRIPT

%-[Guz] Vortex Indicator Custom

已更新
// [Guz] Custom Vortex Strategy (backtester)
// Custom version of the Vortex indicators that adds many features:
// -Triggers trades after a threshold is reached instead of the normal vortex lines cross (once the difference between the 2 lines is important enough)
// -Smooths the Vortex lines with an EMA
// -Adds Take Profit and Stop Loss selection
// -Adds the possibility to go Long only, Short only or both of them
// ! notice that it uses 10% position size and 0.04% trade fee, found on some crypto exchanges futures contracts
// Allows testing leverage with position size modification (values above 100% position size, to be done with caution)
// Not an investment advice
版本注释
Added the underlay plotting of the indicator for it to be visible under the chart, 2 vortex lines + threshold line.
The Long and Short opening correspond to the blue line and the red line crossing over the threshold respectively.
Close with Take Profit / Stop Loss or blue line crossing red line.
Average True Range (ATR)customsmoothstoplosstakeprofitthreshold

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明