OPEN-SOURCE SCRIPT

Bitlinc MARSI Study AST w/ Take Profit & Stop loss - beta 0.1

Updated
This script is beta 0.1 - will update as soon as the script is tradable

This script is based on AST on a 10 minute timeframe. You can change the asset and the timeframe for any asset you want to trade, but for it to work correct ALL settings have to be testes in the Strategy section of the TradingView. Each assets and timeframe require a different mixture of settings. This is NOT a one settings fits all trading for all assets on any timeframe. Below are the settings and explanation on how it works.


How it fires a buy / sell:
The script will plot an RSI with upper and lower bands in a separate indicator window. The idea behind this script is to fire a LONG when MA crosses OVER lower band and fire a SHORT when the MA crosses under the lower band. Each order that fires is an OCO (Order Cancels Order) for pyramiding.

Settings:
You have full control of these settings as mentioned above, you must configure every part of this script for each asset and timeframe you trade.

- Length of MA
- Length
- Upper bands of RSI
- Lower bands of RSI
- Take profit percentage
- Stop loss percentage
- Month to start and end the strategy (within 2020)
- Day to start and end the strategy (within 2020)
- Quantity type
- Slippage
- Pyramiding

***Remember that after the signal to enter or exit a trade is fired, the alert will trigger AFTER the close of the candle that caused the tigger to fire
Release Notes
Bitlinc MARSI Study AST w/ Take Profit & Stop loss - beta 0.2

This script is beta 0.1 - will update as soon as the script is tradable

This script is based on AST on a 10 minute timeframe. You can change the asset and the timeframe for any asset you want to trade, but for it to work correct ALL settings have to be testes in the Strategy section of the TradingView. Each assets and timeframe require a different mixture of settings. This is NOT a one settings fits all trading for all assets on any timeframe. Below are the settings and explanation on how it works.


How it fires a buy / sell:
The script will plot an RSI with upper and lower bands in a separate indicator window. The idea behind this script is to fire a LONG when MA crosses OVER lower band and fire a SHORT when the MA crosses under the lower band. Each order that fires is an OCO (Order Cancels Order) for pyramiding.

Settings:
You have full control of these settings as mentioned above, you must configure every part of this script for each asset and timeframe you trade.

- Length of MA
- Length
- Upper bands of RSI
- Lower bands of RSI
- Take profit percentage Long
- Stop loss percentage Long
- Take Profit percentage Short
- Stop loss percentage Short
- Month to start and end the strategy (within 2020)
- Day to start and end the strategy (within 2020)
- Quantity type
- Slippage
- Pyramiding


*** At the moment both Long and Short Take Profit and Stop Loss print as Long Exit or Short Exit. Will add differentiation for both trades in the next update. For now, it works as described but prints the same label weather it's an exit based on profit or exit based on stop loss percentage getting hit.
*** Remember that after the signal to enter or exit a trade is fired, the alert will trigger AFTER the close of the candle that caused the tigger to fire
airswapautomatedautomatedsignalsautomatedtradingcrossovertradingcrossunderCryptocurrencycryptotradingMoving AveragesRelative Strength Index (RSI)Volatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer