Raphael A / Profile
Raphael A
Added topic Problem with EA setting BE randomly
Hi all, As soon as my EA open a trade, the stoploss get directly set to BE and the trade get closed bits by bits within seconds. Even when I try to open the trade manually it does this. However it does not do that all the time and it depends on
Raphael A
Added topic Trouble collecting day open equity
Hi all, I am trying to collect the day open equity so I can control my daily drawdown and close all trade if it gets reached. However I don't understand why it is not working. Here is the following code I am testing: double EquityOpenDay; int
Raphael A
Added topic Problem with changing chart timeframe with code
Hi all, I am trying to optimize my EA with with different timeframes as input. Here is how I change the TF within the code, where Timeframe is the input: int OnInit (){ ChartSetSymbolPeriod ( 0 , NULL , Timeframe); ... Then
Raphael A
Added topic Implementing prop firm rules within my EA
Hello, I am trying to implement the main prop firm rules within my EA: - stop trading when 8% profit reached - stop trading when 10% loss reached - stop trading for the day when 5% drop from the equity at the opening of the day. I have the
Raphael A
Added topic Testing multiple timeframes as an input for optimization
Hi all, I am trying to test an EA on different timeframes and so I defined timeframe as an input. The code is working fine when tested on a single timeframe. To have the timeframe changed, I simply added the following 2 lines of code. The first
Raphael A
Added topic Partial close with variable size position
Hi all, I am trying to partially close my position once a certain risk reward is reached. Both proportion of the position to be close, and the risk reward needed to be reached are inputs. I am struggling regarding the volume, as I want the
Raphael A
Added topic Test a code with different starting week over a specified period
Hi all, I am trying to test an EA where it starts each week and see the different results I get. Here is the code (removed all code not related to that matter), it works fine for the first 54 passes and stopped on 1 January 2023. Any idea why?
: