03.freeman

dP magnet

//Strategy based on the idea that stop loss and take profit are often placed at full price levels or round numbers, whcih acts as resistance and supports levels
//Buy Rules:
//Actual price (close) is above round number.
//Round number level was not touched in previous ten bars (arbitrary value).
//Place a buy and follow the order with a trail step because price can bounce at round number (support) or can go through it.
//Sell Rules are the same of buy rules but inverted.
//
//Need improvement on conditions' logic and round numbers definitions
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

I want to you update it, just put stop loss in this script
Reply
if it really works, then you need not only coffee, but a lot of things .. tell me, can you identify indicators for alerts from the strategy? at first it is very unclear how the entry and exit from the position occurs (I can not understand the logic and form an indicator with a signal)
Reply
If you like my scripts and find it usefull to you, please consider to offer me a coffee:
Donate 1$ or BTC equivalent
Reply