Replies

Alfie
07 Aug 2022, 19:47

RE: RE: RE:

firemyst said:

Alfie said:

firemyst said:

Yes.

 

Good ,
Do you have the code? or logic?

Set a global bot variable called "CountOfTradesToday" = 0;

Set two date/time variables of the "Start time" and "end time" for your day.

Inside your bot's logic:

* check if CountOfTradesToday == 0

* if so, place your trade and increment CountOfTradesToday += 1

* if not, just skip

At end of your defined day, set CountOfTradesToday == 0 again to reset

 

Can You provide the code?


@Alfie

Alfie
06 Aug 2022, 09:45

RE:

firemyst said:

Yes.

 

Good ,
Do you have the code? or logic?


@Alfie

Alfie
05 Jul 2022, 13:50

Trade.isExecuting is obsolete.

Instead of Robot.Trade and Trade.isExecuting what shouuld I use. Here, its showing both are obsolete.


@Alfie