OPEN-SOURCE SCRIPT
Diupdate TradingPit Scalping Strategy - EUR/USD 15M

This is our first publication of a trading script on TradingView using our custom 15 minute scalping setup for the EUR/USD. It has been optimised for the 15 minutes time frame on EUR/USD but you can use it on other assets and time frames as well but will have to adjust the settings to do so.
The strategy uses a short (30) and long period (200) exponential moving average which you can both change in the settings. The strategy is trend following and designed to only trade in the direction of the trend. It looks for pullbacks against the direction of the trend to buy and sell into the trend.
Long Entry Conditions:
- Short EMA above long EMA and price above short EMA
- Pullback below short EMA
- Entry on close above short EMA
Short Entry Conditions:
- Short EMA below long EMA and price below short EMA
- Pullback above short EMA
- Entry on close below short EMA
There are two different options to set a stop loss:
1. Using ATR (you can configure the ATR multiplicator in the settings)
2. Using Trailing Stop Loss (You can configure the trailing percent in the settings)
You can also configure the initial account balance (you need to set a higher one to simulate trading with leverage as there is no feature to do so otherwise) the percentage of account risked per trade as well as the commission payed per trade.
Catatan Rilis
The new version includes the following changes:-option to switch between live trading and backtesting
-better filtering of ranges
-Trailing Sl is drawn in on the chart
Catatan Rilis
Trailing Stop Loss is now activated by defaultCatatan Rilis
Changes:- added option to chose between ATR SL or Trailing SL
- added ATR SL multiplier
- added Range filter based on EMA spread and ATR multiplier
- Added Labels for different SL/TP orders on chart
Catatan Rilis
Trailing SL FixSkrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.