Reply

maximum trades per hour

2 replies

Nikolai Haug

Subscriber, bbp_participant, customer, community, 9 replies.

Visit profile

8 months ago #283296

Hi, here is another question:

I would like to activate duplicate trades but only allow to open one trade per hour.
I’m pretty sure this is possible but I don’t know how to set up the variable/counter. Could someone help me please?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 months ago #283299

Hi,

you need to create a variable for “counting” trades. For example “Counter (int)

With each order increase the Counter + 1

Into your trading condition add a new line such as If Counter < 10

You can then setup a resetting condition that set the Counter variable to 0 for example if Bar Minute[1] = 0 … that is a start of a new hour

0

Nikolai Haug

Subscriber, bbp_participant, customer, community, 9 replies.

Visit profile

8 months ago #283313

oh that is what I was looking for. Thank you Tomas!!

0

Viewing 2 replies - 1 through 2 (of 2 total)