Forum

if(Balance==Equity) or if (Balance!=Equity) means ?

what does if(Balance==Equity) means?and what did it will to our program

how to count Bars from the trading execution ?

Hey, I want to count the number of bars it has been since the last MA crossover. Example chart below, which would have the answer of 12 bars including the current bar. is there anybody help me