The “Do Once If” action, available only in Quagensia® T Edition, does the actions in the “Do the following one time only in the entire lifetime of the strategy, and don’t consider doing it a second time, even if the condition is true on a future bar or tick…” section one time only in the entire lifetime of the strategy, once the condition or conditions in the “Once the following condition is true…” section are true.
The actions will be done at most one time in the entire lifetime of the strategy, even if the condition or conditions in the “Once the following condition is true…” section are true on a future bar or tick, even if this action is executed many times per bar or tick inside of a loop, and even if this action is used inside of a Quagensia Function that is called many times per bar or tick.
If the condition or conditions in the “Once the following condition is true…” section are always false, then the actions will not be done even once.