Forums ProRealTime English forum ProOrder support Division by Zero Error: Trading system was stopped Reply To: Division by Zero Error: Trading system was stopped

#137042

I had another idea earlier.

Currently my code with long and short together is structured with multi-timeframes like this (as I copied long and short after each other):

Long code: 4hr / 1hr / 10m  followed by Short code: 4hr / 1hr / 10m

I didn’t think this would be an issue but maybe having the same timeframe twice causes a problem? Do you have any experience with that?

What I could do is structure it like this:

4hr:  long code, short code,  1hr:  long code, short code,  10m: long code, short code