工作已完成
执行时间11 天
指定
I need a script that will first calculate the pip distance between the closing price of the previous candle and the price of the previous Moving Average. Once this pip distance is determined it will be used to calculate the Take Profit and Stoploss Multiplier price levels, however for calculating the Risk percentage it should be based on
the distance between the current Bid price and the previous moving average price.
Required Script Settings
Risk Percentage
- This is where I can set the Risk Percentage that the Script should use.
Set Risk Account Type = (Account Balance / Account Equity)
- This is where I can set the Account type that the script should use when calculating the Risk Percentage.
Moving Average Period
Moving Average Types:
- EMA (Exponential Moving Average)
- SMA (Simple Moving Average)
- Smoothed
- Linear Weighted
Moving Average Applied:
- Applied to MA Close
- Applied to MA Open
- Applied to MA High
- Applied to MA Low
- Applied to MA Median Price (HL/2)
- Applied to MA Typical Price (HLC/3)
- Applied to MA Weighted Close (HLCC/4)
Set Stoploss Multiplier
- This is where I can set the amount for the Stoploss Multiplier, so for example if I set it to 1 then the Stoploss should be placed at the same distance that was used for calculating the above pip distance, now if i set the Multiplier is at to 2 then the distance will need to be 2 times that distance size.
- When calculating the Risk Percentage it should use the distance between the current Bid price and the previous moving average price.
- When set to "0" it should disable the function from placing the Stoploss onto the Order. But it should still calculate the risk and place the order by using a default Stoploss Multiplier of "1".
Set Take Profit Multiplier
- This is where I can set the amount for the Take Profit Multiplier, so for example if I set it to 1 then the Take Profit should be placed at the same distance that was used for calculating the above pip distance, now if i set the Multiplier is at to 2 then the distance will need to be 2 times that distance size.
- When set to "0" it should disable the function from placing the Take Profit onto the Order.
反馈
1
等级
项目
134
66%
仲裁
36
25%
/
56%
逾期
22
16%
空闲
发布者: 10 代码
2
等级
项目
521
47%
仲裁
29
10%
/
45%
逾期
139
27%
工作中
项目信息
预算
10 - 30 USD
截止日期
从 1 到 2 天