Try remove the If Position Block. This block seems tricky. Use the false output of No Trade if you really need this function
Posts made by sktsec
-
RE: Help with my Project Logic: EA doesn't activate any trades on mt5 backtestposted in Questions & Answers
-
RE: Hellow Guys I'm trying to set my Indicator but i'm failposted in Questions & Answers
What does the indicator suppose to do ?
-
RE: High and Low in Time period of previous dayposted in Questions & Answers
Use of local time/GMT seems tricky. Better use comment to print out and check first.
-
RE: Backtesting/demo testing different behaviorposted in Questions & Answers
Many reasons.
MT4 or MT5?
Backtest mode in ticks or any timeframe ?
PC has any speed problem or connection problem. ?
Is your broker reliable ?
Using any repainting inidicator ?
How often you open and close trades ? -
RE: Problem when doubling down on a lossposted in Questions & Answers
Have you try using the Symbol option ?
-
RE: Help with "Check Profit" Pleaseposted in Questions & Answers
Try set "Time 1 is hours relative to Time 2" to NO
-
RE: Different Stops with same conditionsposted in Questions & Answers
Your start candle is 0, that means the current bar. Do you really mean it ? Or you mean candle 1 ?
-
RE: time frameposted in Questions & Answers
@Jabbar-700
Do you mean enter trade at the beginning of 15-min bar? Can you use an example to illustrate ? -
RE: MT5 Buy or Sell onlyposted in Questions & Answers
@Antonio-0
Add a condition block above any buy / sell block -
RE: WHAT IS THE DIFFERENCE BETWEEN : CUSTOM (PRICE LEVEL) AND CUSTOM (PRICE FRACTION)posted in Questions & Answers
@bacharchoura1
Faction is the price difference between the opening price and SL / TP price -
RE: Converting Takeprofit % to ATR, pips and time in order to close the orderposted in Questions & Answers
Let me make a rough verification by using current EURUSD as an example (both n is equalized to 10 weeks)
Current hourly ATR (n=1200) is 0.00137
Current weekly ATR (n=10) is 0.01790.00137 x SquareRoot(120) = 0.015, which is quite close to 0.0179 as an estimation
-
RE: Converting Takeprofit % to ATR, pips and time in order to close the orderposted in Questions & Answers
In the buy or sell block. You can set the expiration time.
By the way, provided that 60 pips for 1 hour, it may require about 100 hours to have ATR of 600 pips.
According to my rough estimation, the ATR is proportional to the square root of time.
One more complication, the interval from entry point to SL/TP is just part of the ATR. So the time needed may even longer than 100 hours (on average in theory)
-
RE: Problem with find the mean ATR SDposted in Questions & Answers
In the source code, there is a dedicated session for custom function.
-
RE: How to make multiple indicators in the same direction, order or mark with arrowsposted in Questions & Answers
The sum as condition for entering trades
-
RE: How to make multiple indicators in the same direction, order or mark with arrowsposted in Questions & Answers
@forexking123
For each indicator, use a variable to denote the direction, say, 1 for bullish, -1 for bearish, 0 for no direction.Sum up the above variables as your final indicator to enter trades.
-
RE: Use Candle Open for SLposted in Questions & Answers
@MT4Nutzer
Should work. Make sure SL price is lower than open price for buy position. And higher for sell position