julian0625,
One simple way to do it is keep track of the TradeSignal in a variable and until a reverse signal is generated don't take any more trades.
So, you would do something like:
PreviousSignal = "None"
CurremtSignal = "None"
If LongSignalGenerated {
PrevSignal =...
Hello,
I am trying to develop a formula to scan and backtest a strategy using HeikinAshi Difference in StrategyDesk from Ameritrade.
I know other programming languages like thinkscript or C++ but I am having hard time coming up
Can someone please share or help me come up with the...