Forum

Start from specific datetime bar in MT5 and step forward

Hi I have an EA which i gather information I need (Bar information and iMACD for example) and send it back to python for calculation and as what to do. I want to add a function that when I star EA, sync the data with python. here I explain more: python send the date and time of the last bar that has

disable manual order modification

hi I have an expert that open and close orders automatically. is it possible to prevent modifying orders (close orders that created by expert) manually? i don't want to allow user (with the master password not investor obviously ) to be able to close the order manually after it is triggered by

Count Daily Opened Orders

hi I want to only open 2 orders every day. But i don't know how to count only the current day's orders. to be more clear, I should count today's opened orders before opening a new position. if they were 2 then stop opening a new order for today. Please help me in this piece of code. Thanks