Stop the bot from trading for the day after trade closed?
-
has anyone figured out a way? i know theres a few
-
@youngtreptrader On the on trade tab, when trade closed modify a bool variable (or flag) to false, once per daily bar reset to true and before buy/sell check variable/flag.
-
can u show me? i have never used bool
-
@youngtreptrader Here is an example, the result is in a comment so you can back test to see working.
-
@jstap can you explan more. lik each step and why? trade went positve or neagtive and closes. then what? na you explan wat each block is tellling the robot
-
@youngtreptrader That is simple if no trade place trade and set trading to false, at the start of the next day set trading to true, place trade and set to false, this continues indefinitely.