Unisciti alla nostra fan page
- Visualizzazioni:
- 7192
- Valutazioni:
- Pubblicato:
- 2014.07.31 10:18
- Aggiornato:
- 2016.11.22 07:32
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Buy Stop or Buy Limit pending order should be placed.
The stop loss is calculated from the Risk Percentage input. The take profit is then calculated using the stop loss and Reward Ratio.
It is a pretty simple script, so enjoy!
![Short position](https://c.mql5.com/i/code/script.png)
A simple script that allows you to open a Short position using the current price location with a specified Risk Percentage and Reward Ratio.
![Long position](https://c.mql5.com/i/code/script.png)
A simple script that allows you to open a long position using the current price location with a specified Risk Percentage and Reward Ratio.
![Short Pending Order](https://c.mql5.com/i/code/script.png)
When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.
![Long Short only EA based on CExpert](https://c.mql5.com/i/code/expert.png)
This CExpert subclass allows to open only long/short orders, showing its usage with an MACD example.