Forum

MT5 Python copying ticks not working properly

I'm trying to copy the last X ticks from a given currency, but am left with sporadic results. for currency in currency_pairs: server_time = mt5.symbol_info_tick(currency).time ticks = mt5.copy_ticks_from(currency, server_time, 50 , mtmain. COPY_TICKS_INFO ) logging.info(f "{currency}

MetaTrader5 Tick Values Inaccurate?

Very simple, I'm retrieving tick data as follows: ticks = mt5.copy_ticks_from( "AUDJPY" , time.time(), 1 0 , mt5. COPY_TICKS_INFO ) print(ticks) which prints: [ (1705508465, 96.753, 96.759, 96.756, 0, 1705508465232, 6, 0.) (1705508465, 96.755, 96.761, 96.758, 0, 1705508465255, 6, 0.) (1705508465

Stop loss trigger on ask instead of bid price (or vice-versa)?

There is a feature on cTrader that I think should be a standard, seen at the bototm of the page https://help.ctrader.com/trading-with-ctrader/orders/#stop-loss-and-take-profit or in the image below. Basically, instead of a standard stop loss which can be triggered by spread alone (the candleprice

What does the red color mean in terminal for S/L?

I'm spamming some test EAs, but see a red SL on occasion as seen in the image: What does the red mean in S/L? While we're at it, does anyone know why some pairs only exist with .sml on the end e.g. AUDUSD.sml? This is a demo account