Update Summary
TradingView to Metatrader now offers a price filter parameter (P) to modify or close trades if the price is reached by a trade.
![]() |
MetaTrader |
![]() |
4.004 ![]() |
The Price Filter Parameter (P) allows users to automatically close or modify trades if a specific profit target is reached. Traders can set this parameter using:
- Actual Price: Set a fixed price level like
1.2345
- Points: Define profit in points like
100
. - Percentage: Filter price target by percentage like
2.5%
.
Example
Update Command
UPDATE EURUSD TP=200 P=2%
- Updates the TP for EURUSD trades whose profit is equal to or more than 2% in profit.MODIFY EURUSD SL=-0.5% P=200
- Updates the SL by 0.5% past your entry for all EURUSD trades that are 200 points in profit or more.
Close Command
close EURUSD P=2%
- Closes all EURUSD trades that have moved a 2% or more in price from entry.close EURUSD P=300
- Closes all EURUSD trades that have gained 300 points or more in profit.
Downloads: Metatrader 4 or Metatrader 5
Visit TradingView To Anywhere to start Automating
Enjoy!