당사 팬 페이지에 가입하십시오
- 조회수:
- 7202
- 평가:
- 게시됨:
- 2014.07.31 10:18
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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.