Forum

Help with EA. opening trades 5 pips away from close

Hello, i am having trouble with my trades. I dont know if it's the EA or the broker am using that causing me problems. All my trades are opened 4 to 5 pips away from the previous bar's close. I understand there's slippage but 5 pips away from the close is just too much. the ea reads a decision from

help with code. stop loss varying on each new trade

Hello, Some help needed on the code below. The EA gives me a different stop loss on each trade yet i want to be fixed at 10pips for the 1hr timeframe. I dont know if it's the sleep function causing it or it's something else. input double MaximumRisk = 0.012 ; //--- parameters for data reading input

Help with code for bar change

Hello traders, kindly assist me with the following code. Am trying to open a trade based on a decision read from a csv. I want to do this on every bar change but the code doesnt seem to be changing with bar changes very well. Kindly help. //--- parameters for data reading input string

Help with code for trailing profit

Hello, I've been researchin around the internet and i can't seem to find an EA that can do exactly what am looking for. So here is my request. I am currently trading on the GBPJPy on 4hr timeframe and according to statistical analysis, am setting my stop loss at 20 pips and take profit at 40 pips