// // // // Long Signal ... // if ( // // // hasLongSignal && // // // price xmaBigHigh && // tp > xmaHigh // ) { // tp = MathMin(xmaHigh, xmaBigHigh); // } else // // // // Short Signal ... // // TODO: Change ... // if ( // // // hasShortSignal && // // // price < xmaHigh && // price < xmaBigHigh && // price > xmaLow && // // // tp < xmaLow // ) { // tp = xmaLow; // }