A3Sh

ROC_PA_Strategy (A3Sh)

A3Sh Aggiornato   
Hi there,

An experiment with rate of price change in combination with price averaging. The strategy is inspired by Price Change Scalping Strategy developed by Prosum Solutions and Scalping Dips On Trend Strategy developed by Coinrule. Both strategies look at the percentage of price change to open orders.

When the price drops beyond a specified percentage, a order entry threshold (yellow line) is setup. The order entry threshold is only active for a specified number of bars and will de-activate when not crossed within the specified number of bars. When the price drops further and crosses the entry threshold with a minimum of a specified percentage, a long position is entered. The same reverse logic (white line) used to close the long position.

I first ran the strategy without stop loss and take profit and that worked very well in a bullish market. I later added stop loss and take profit and that seems to work better in a side ways or bearisch market. There are a lot of tweaking possibilities in the settings.

In the settings you can specify the percentage of portfolio to use for each trade to spread the risk and for each order a trading fee of 0.075% is calculated.





Note di rilascio:
Cleaned up the script and replaced the comment parts of the strategy entry and exit with generic comments instead of my Autoview comments. If you want to create an alert with a strategy enter this line in the Message section '{{strategy.order.comment}}'.
Note di rilascio:
I discovered a flaw. The long position closed even after the closing limit line was inactive. I changed this flaw into a feature that you can switch on or off.
Updated the script to version 5
Changed the default settings and optimized it for BNB/PERP 30min. on FTX
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?