OPEN-SOURCE SCRIPT

TRM Strategy

已更新
This is a strategy version of the "True Relative Movement" script:
TKP-True Relative Movement


It is virtually identical to the original script, except now you can back test different conditions and parameters.

TRM has 3 different conditions:Buy (Blue Bars), Hold/Take Profit (Gray Bars), and Sell (Pink Bars).

This script is only coded for Long only condition. It will exit the position when there is a sell signal, no take profit parameters are coded.

The example backtest results shown are on AAPL with a starting Capital of 10k, with each trade investing 10% of capital. I cannot show results vs buy and hold (meaning re-investing 100% of capital) as this is against house rules. However, I HIGHLY encourage you to experiment with different trade parameters, time frames, symbols and settings for TRM. You will find that certain time frames perform better under different TSI and RSI settings. The "Slower paced trader" can use the "Slow settings" for TRM ( Instructions embedded in the settings window). This will produce less signals ect.... I am personally, constantly finding different settings that work for different ETF's, symbols ect...

As a discretionary trader, it is important to have a system that has an "edge". That is what the script is meant for... finding an edge to help you make sound trading decisions and help you manage risk accordingly.

Enjoy, and please DO NOT hesitate to ask me any questions.






版本注释
Changed default back-testing properties to 10k per trade with starting capital of 10k. This better reflects trading results vs previous settings of 10% of equity with starting capital of 10k.

Upon request, I added the ability to change start date of back-test. Default value is Jan 1, 1970.
Relative Strength Index (RSI)True Strength Index (TSI)

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明