Disliked{quote} No, you have no compiling errors, you have 3 warnings, but those warnings do not prevent the EA from working, though it's not good coding. These 3 need to be checked, at minimum: {image}But the results of the checks should be printed, too. However, you have one mistake which the compiler will not see: // Check if the EA is attached to a chart if (ObjectFind("TrailingStopEA") == -1) EA is not an object!!! You could check that like this: if (WindowExpertName()=="TrailingStop_EA_by_Nonip") And the last thing, though not an error, it logically...Ignored
Thanks for the prompt reply BestTraderEv, could you assist in correcting the EA so I don't get blocked? The EA is meant to be a candle trail EA ( user selscts which timeframe to be used for trailing and then how many pips from the candle low or high to trail)
"You can't buy the bottom, nor sell the top. The best you can strive for is