Hi Steve,
some times I noticed that my triggered trades are not in sync with the strength confirming indies. I had a look a the sendinitial pair void and I have a question about the following snippet:
Code: Select all
void sendInitialPair(string symbol, int pairIndex)
{
//Sends the initial pair of stop orders
if (!marginCheck() )
return;//Insufficient margin to allow a new trading cycle
if (!isTradingAllowed(symbol, pairIndex) )
return;
//Find the trigger
getTradeTrigger(symbol, pairIndex);
//Alert(symbol, " ", trigger);
if (trigger == flat)
return;//No trigger, so nothing to do
//Trend confirmation.
if (!AllTriggersMustAgree)//Te getTradeTrigger() function takes
//care of this if AllTriggersMustAgree is enabled.
if (!doStrengthConfirmation(symbol, pairIndex) )
return;
it seems to me that the doStrengthconfirmation will only be processed, if the option AlltriggersMustAgree is true, otherwise it won´t. So to do the Strengthconfirmation it had to be executed once more, or am I on the wrong track?
Cheers Max