Forum

How to read file in EA

I tried to read a setting file. I tried many ways, but failed. I do not know putting setting file in which folder

Array copy error

int all_signals[6][19]; int data[19]; function(data); ArrayCopy(all_signals[0],data); error 'all_signals' - invalid array access How to put data values into all_signals[0] directly

Backtesting data competition

I run my real account on ICMarkets. I tried backtesting data from ICMarkets and dukascopy (imported from TDS). ICMarkets data is 100% quality since Jan 1st, 2022. Dukascopy data is good quality for 19 years. So, which data will you perfer

How can I get history deals from different EA?

I try to summary my account. All deals come from my first EA. I wrote another EA to summary this account. But I can't get details. int OnInit () { //--- Summary(); //--- return ( INIT_SUCCEEDED ); } void Summary() { HistorySelect ( 0 , TimeCurrent ()); int deals = HistoryDealsTotal ();

How can I get good backtest ticks?

I'm testing my EA. But I can't fetch good real ticks before 2019. I tried FXTM and IC Markets. I wonder how did some developers backtest since 2012, even 2009 with real ticks

Does Dukascopy support MT5?

I want to register a demo account of Dukascopy. But it's only available on MT4. Does Dukascopy support MT4 only

Problem! I can't modify position.

I tried to modify the loss. But I got error code 10016. How to call PositionModify correctly? Thanks. CTrade ExtTrade; void ModifyPorfit() { double p = PositionGetDouble ( POSITION_PROFIT ); if (p < 0 ) return ; double volume = PositionGetDouble ( POSITION_VOLUME ); double points = p