OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
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
Nota Keluaran
Trailing Stop Loss is now activated by defaultNota Keluaran
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
Nota Keluaran
Trailing SL FixSkrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.