I am writing a program to keep a record of the Order Ticket numbers in an array.There is an issue that I cant seem to resolve. The code is attached. When I print out the orderticket directly from the the OrderTicket() functionor...
I wrote an EA to just do logging of signals into a .csv file for the 1M timeframe.
I tried running it by attaching the EA to a live chart, but the code doesn't seem to update the .csv file.
My "my_data.csv" file is...
I have been coding my own EA for the first time and so far all seems good. :)
To open a trade I used the OrderSend() command and it works as accepted. When i tried to
add in the SL and TP levels in the OrderSend() command, no order...