Hi everyone! I'm new to the forum and am very impressed with the quality of the posts....AND I'm hoping you can help me out.
I'm programing an EA and need to be able to identify the bar in which a trade is opened. For example: if( sell opened two bars ago &&....)or, if( sell open current bar && ....)
I need also to be able to identify the bar in which a trade is closed. Example: if( sell closed current bar &&....)
I hope I'm being clear...I'm a programming novice. What I'm after is the ability to fix in time (on the chart) when a trade is opened or closed so that I can instruct the EA to take certain actions when those events occur.
Thanks for your help,
verdelisan
I'm programing an EA and need to be able to identify the bar in which a trade is opened. For example: if( sell opened two bars ago &&....)or, if( sell open current bar && ....)
I need also to be able to identify the bar in which a trade is closed. Example: if( sell closed current bar &&....)
I hope I'm being clear...I'm a programming novice. What I'm after is the ability to fix in time (on the chart) when a trade is opened or closed so that I can instruct the EA to take certain actions when those events occur.
Thanks for your help,
verdelisan