I am in need to have an EA coded which has to do? 4 things, (and I guess is pretty simple): [login to view URL] the historic data through DDE protocol to a *.CSV file on start up once (in a loop for every bar, I guess).
[login to view URL] the contents of the DataWindow for the last (most recent bar)? to another? *.CSV file continuously
[login to view URL] trade data (buy/sell action, SL and TP) from a third *.CSV file
[login to view URL] trade in the following fashion:
- open position through market order only, without setting SL and TP in advance
- monitors price action continuously and executes SL/TP when proper, to close trade.