私たちのファンページに参加してください
- ビュー:
- 12651
- 評価:
- パブリッシュ済み:
- 2016.07.01 11:26
- アップデート済み:
- 2016.11.22 07:32
-
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
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.
MetaQuotes Ltdによってロシア語から翻訳されました。
元のコード: https://www.mql5.com/ru/code/8697
![Pipso](https://c.mql5.com/i/code/expert.png)
Rebound pipsing within a daily channel
![Trading signals function. Based on the values of the CCI indicator.](https://c.mql5.com/i/code/library.png)
Trading signals function. Based on the values of the CCI indicator.
![Trailing](https://c.mql5.com/i/code/expert.png)
Trailing stop by balance
![ZeroLag MACD Colored](https://c.mql5.com/i/code/indicator.png)
The 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.