matheus / Publications
Forum
mathSrand 2 EA same time
For the love of God, can someone help me? xD i've being cracking my head out and can't figure it out. I have an EA, runing in 6 pairs (each running an instace of the EA), and i need a different rand value for each pair runing, each time functions run. code is simple as MathSrand ( TimeLocal ()); int
Order Price Open = 0.
Hey all. Can't seem to understand why my code doesn't work, anyone can help me see what am i doing wrong? void OnTick () { //--- double op; if ( OrdersTotal () >= 1 ) { int orders = OrdersTotal (); for ( int i= 0 ; i<=orders- 1 ; i++) { op = OrderGetDouble (