You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
no, i didn't get the picture, y u thinking to cacth @ 1 & get out up there (i want 2 LOL)
"@Ais:: What if I place the new orders in another function,say "New()". Will it open the orders not in the same bar but different ones?"
Depends on code of the new function.
"If I use the following code, why isn't it opening orders in different bars? ..."
Because:
"... Rest of the code as being the same."
If I use the following code, why isn't it opening orders in different bars? Rest of the code as being the same.
With this function "start()":
//+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- if(Fun_New_Bar()) { New(); } checkclose(); //---- } //+------------------------------------------------------------------+
last changes make send orders only once in current bar.