- 注册时间
- 2013-5-20
- 最后登录
- 2018-9-24
- 阅读权限
- 200
- 积分
- 113698
- 精华
- 1
- 帖子
- 976
|
This is simple script which opens positions according to a Fibonacci Retracement object. OpenFiboOrder script has just one input variable — number of lots. The script searches for the latest Fibonacci Retracement object. Order open level is set to 1 pip over 100 fibonacci level for buy order and 1 pip under 100 fibonacci level for sell order. SL level is fixed on 0 fibonacci level. Then the script gets the first fibonacci level over 100 and sets in this place TP, so it is possible to change TP range by modification of the Fibonacci Retracement object. OpenFiboOrder calculates proper levels taking into consideration a difference between ask and bid price (spread). Just before placing order the script checks whether SL, TP and order open levels are not too close. If any error occurs, the script displays message.
Charts before and just after execution. | 下载地址: |
[下载地址1 ] |
|
|