The Impossible TraderTHE IMPOSSIBLE TRADER
A simple, but effective High Freq Strategy script based on MACD or RSI trend, with extra customizable Alert Messages for Bots.
WHAT IT DOES
This script (works best at lower TimeFrames) just follow the trend of MACD or RSI on your asset.
Why it should work? Because in an upper trend, there are more chance of green candles than reds. And in dump trend there are more chance of red candles than greens.
While trend is positive, it will try to open Long orders as fast as possible at market price.
While trend is negative, it will try to open Short orders as fast as possible at market price.
HOW TO SETUP YOUR PREFERENCES
Capital : Insert a % of Margin you want to use for your positions (usually 30% is quite good)
Leverage : Choose leverage based on your plans
Trail Tick @ : This value (in Tick) tell the script "when" the "Trail Stop" order must be activated (from the Entry price)
Offset Tick @ : This is the price (in Tick) from the Trail Stop Price activated. Basically it is a Stop Loss that follow the price at a fixed distance.
SL Tick @ : Set a Stop Loss at amount Tick distance from the Entry Price. (Let's call it a Safety Stop Loss for bad decisions...)
TP Tick @ : Set a Take Profit at amount Tick distance from the Entry Price. Sometimes is better to exit in full Gain than keep positions.
Strategy : You can choose a Only Long, Only Short or Long+Short sametime strategy.
with MACD or RSI : You can try the strategy applied on MACD or applied on customizable RSI EMA
EMA : If you choosed RSI EMA, you can set any value for your testing (usually 80-120 works very nice)
Exit order after bars : Some Exchanges / Brokers apply fixed cost, and a strategy too fast could not be productive. This set will let you to delay the Exit Order on already Opened positions.
Keep Stop Loss active : If you are planning a delay for Exit Orders, sometime could be useful to keep activated Stop Loss.
Strategy Preset : Some preset I've found interesting, with good results.
BackTest Days : If there are too many results and script doesn't work, you can choose a closer range to show results.
EXTRA FEATURES
On Screen Display : OSD will show you some realtime stats about your strategy, like Asset Tick, Trading Period Range, Drawdown, Gains and not closed trade.
Alert Message : You can enter custom Long Entry/Exit and Short Entry/Exit message for your Bots (like AutoView, WunderBit, etc...). When alert is triggered, you can send custom message with {{strategy.order.comment}} in the text field
AutoView Alert Message : If you are user of AutoView, you can generate your calls. Those are tested only on Oanda with index like Sp500, US100, Us30.
TIPS ON USE
Some asset on TradingView require an higher initial capital. Go to this Script Settings -> Properties and rise Initial Capital.
Be aware of commissions and spread when evalutating a strategy. Go to this Script Settings -> Properties and set Commission and Slippage
Trail Stop and Ticks could be difficult to understand, but very profitable. Please take your time and study how it works.
Consider Tick like the minimum movement your asset can do. Ticks occurs "intra-bar", so some of your positions could be closed almost instantly.
Consider Trail Stop like a Stop Loss that keep always the same distance from your positions, but never came back . If you are in gain, say of 10 Ticks, and your Trail have 5 Ticks, this means for sure a close at minimum 5 Ticks from Entry Price.
On Screen Display will show you Ticks for your asset. This will help you on strategy settings, because not all asset responds on the same way.
ONLY LONG EXAMPLE
ONLY SHORT EXAMPLE