Forum

CTrade

Hello, I wrote this code in Mql5: CTrade Trade; void OnTick() { double Bid=SymbolInfoDouble("USDCHF", SYMBOL_BID ); if(PositionsTotal()==0) { Trade.Sell(lot,"USDCHF",Bid,Bid+sl*Point(),Bid-tp*Point(),"Divergence"); Comment("Open= "); } } In backtest, it writes Open= but it

History Quality

Hello, I tried my code in MT5 with BackTest. The histoy quality is low. How can I improve it? I want more than 95% accuracy. I use Demo account and I backtest in Demo account. Many thanks. Regards