Never worked with structs before, and neither with C for that matter, so I'm not sure how to proceed. I want to modify the entry price of a trade that is entered with enterLong() for instance. Is this possible?
I tried the following:
TRADE* T = enterLong();
T->fEntryPrice = myentry;
but the script crashes the first time these lines are executed.
I also realised that Fill=8 mode exists which is probably a better alternative for what I'm trying to do but I'm almost there with my current approach...