Forum

Variable assume a value through a period of time

Hello guys; I have a variable equal a 0. However, through a period of time it will assume another values. When this period of time fisnish, I'd like the variable return a 0 value. The Opa2 variable will receive parametres from Opa variable. Soon, Opa2 will not worth value 0. I wanna that this

Profit Calc Function

Hello everyone; I created a function that has been calculating my profit per day. My mains parameters are "Maximum Profit" e "Maximum Loss". I created this function for manager my limit loss and limit gain per day and when it is achieved the EA stop trade. However, it doesn't work much better. The

One trade per rule

Hi Guys, How can I coding an EA so that it trades only 1 times and once that trade is close? i.e take profit is hit then don't trade again until the next rule signal...let me explain it in detail....If the trade has hit its TP then wait for other buy or sell signal. If another signal is not