Unisciti alla nostra fan page
Live limit - script per MetaTrader 4
- Visualizzazioni:
- 12870
- Valutazioni:
- Pubblicato:
- 2016.07.01 11:26
- Aggiornato:
- 2016.11.22 07:32
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Many probably encountered a situation where the market requires instant decisions (especially true for pipsing and scalping), but the process of calculating the acceptable risk, and then placing the corresponding stop loss and take profit takes a lot of time. For these people, the problem can be solved by this script assigned to a hotkey. When started, the script finds the line with a special label (named "GO!") on the chart and opens a limit order on the line level (if the line is above the price - a buy limit order, if below - sell limit). The lot size (Lots variable), the maximum loss by stop loss (the MoneyRisk variable, in deposit currency) and the profit/loss ratio (the ProfitLoss variable, used as a basis for placing take profit) are set in the script settings. Based on the variable values, the script automatically calculates the values of stop loss and take profit for the current instrument and opens an order.
Installation of the script:
- Download the script
- Open it in the MetaEditor and edit the values of the variables Lots, MoneyRisk and ProfitLoss
- Save the script in the 'experts\scripts\' folder
- Assign the script to a hotkey.
- Create a line with the name "GO!" on the chart
The script is ready to use - now by moving the line and pressing the hot key combination you can instantly open limit orders. If you want to use the ability to open orders with different lot and risk values using hotkeys - save the variants of the script with different variable values under a different name and set a hotkey for each of them.
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/8697
Rebound pipsing within a daily channel
Trading signals function. Based on the values of the CCI indicator.Trading signals function. Based on the values of the CCI indicator.
Trailing stop by balance
ZeroLag MACD ColoredThe ZeroLag MACD Colored indicator is a modification of the ZeroLag MACD. Added coloring of the histogram bars relative to the previous bar, if the previous bar is below/above the current.