Hi, For backtesting and setting the SL and TP values in OrderSend, does it matter significantly if I use Ask or Bid as part of the SL and TP calculation? I don't see any errors when I use either one. I know other posts said #1 is the
Can anyone help? I'm backtesting with 5 digit broker data. Have $100,000 starting balance. Does the equation for my tradesize seem right for using 1% of account balance as risk and 1.5x the ATR for a stop loss? Do I need to do anything to
Hi, After I added the code below to my EA, my program just hanged without an error message. Can someone explain what is wrong with it? void OnTick () { ........... some code while ( OrdersTotal ()== 1 )
Hi, If an indicator has a level created by SetLevelValue (1, 0), can I use it in a condition in an EA? If so, how do I use it? I'm BT so I don't need to see it. I need the program to use it. For example, if (Blueline >
Hi, I'm trying to understand the Didi_index indicator 1st question: Does 1 and 2 provide the same outcome for CurtaBuffer [i]? double A; int i = 1 ; 1 ) CurtaBuffer [i] /= MediaBuffer [i]; 2 ) A = CurtaBuffer [i] / MediaBuffer [i];
Hi, In MQL4 After I do "OrderSend (Symbol(), OP_BUY, 1.0, Ask, 0, Ask - iATR(NULL, 0,14,1)*1.5, Ask + iATR(NULL, 0,14,1), "TEST", 123, 0, GREEN);" on a backtest , I reviewed the trades and it showed me SL and TP that are calculated using a