Is possible to include events (dividends, bonus, etc) on CSV file to built an custom asset on metatrader 5?

 

Hi, I know I can create a custom asset using a CSV file for price movements.
However, I don't know how to include dividends to simulate a full corporate action.
I noticed there is a deal_type called DEAL_DIVIDEND, so I thought maybe it would
be possible. What am I missing? Is there a better approach?

 
Ricardo Rodrigues Lucca:

DEAL_DIVIDEND is used to log dividends when provided by brokers, but custom symbols in MT5 don't support corporate actions like dividends in backtesting.

You'd need to simulate them manually in your CSV or EA logic.

 
Miguel Angel Vico Alba #:

DEAL_DIVIDEND is used to log dividends when provided by brokers, but custom symbols in MT5 don't support corporate actions like dividends in backtesting.

You'd need to simulate them manually in your CSV or EA logic.

Yeah, I thought someone resolved this problem with some idea but I'll keep using adjusted chart in most of my testing. :'(

To appears more realistic in a few tests, I'm using unajusted data and simulate on tester via deposit.
This website uses cookies. Learn more about our Cookies Policy.