Never mind, that was a dumb question. After learning a little more about the variables I understand the logic a lot better.
SMT worked well because the overall market was moving in one direction but the swing was opposite, like a fib entry. But the problem was the closure code was causing whipsaws. Removing it and managing with mptm would give you perfect entry for a hard swing in your favor.
STC puts you in while the market has already moved in the main direction for all three time frames. I think there is resistance here, thats why we end up in choppy market positions. Then it only moves enough in each direction to reopen the trades that would have been taken care of by the old closure code (ending up in whipsaws.) Until we get enough pips to give us a global profit or hit SL (I hedge them off).
I am going to try shifting the swing direction of TFs to mimic the SMT for a fib entry. My only concerns are getting into the position too quick and only breaking even for the hard swing back. Or a true market shift that wont come back for a while. So it may be wise to add a second trigger indicator like the Parra SAR.
Here are my changes if anyone else would like to test with me.
//Send a new buy into a long trend after a Ttf swing SwingLow
if (HtfSwing[cc] == SwingHigh && MtfSwing[cc] == SwingHigh && TtfSwing[cc] == SwingLow && ask > iOpen(symbol, TradingTimeFrame, 0) )
//Send a new sell into a short trend after a Ttf swing SwingHigh
if (HtfSwing[cc] == SwingLow && MtfSwing[cc] == SwingLow && TtfSwing[cc] == SwingHigh && bid < iOpen(symbol, TradingTimeFrame, 0) )
{
What do you guys think?
SMT worked well because the overall market was moving in one direction but the swing was opposite, like a fib entry. But the problem was the closure code was causing whipsaws. Removing it and managing with mptm would give you perfect entry for a hard swing in your favor.
STC puts you in while the market has already moved in the main direction for all three time frames. I think there is resistance here, thats why we end up in choppy market positions. Then it only moves enough in each direction to reopen the trades that would have been taken care of by the old closure code (ending up in whipsaws.) Until we get enough pips to give us a global profit or hit SL (I hedge them off).
I am going to try shifting the swing direction of TFs to mimic the SMT for a fib entry. My only concerns are getting into the position too quick and only breaking even for the hard swing back. Or a true market shift that wont come back for a while. So it may be wise to add a second trigger indicator like the Parra SAR.
Here are my changes if anyone else would like to test with me.
//Send a new buy into a long trend after a Ttf swing SwingLow
if (HtfSwing[cc] == SwingHigh && MtfSwing[cc] == SwingHigh && TtfSwing[cc] == SwingLow && ask > iOpen(symbol, TradingTimeFrame, 0) )
//Send a new sell into a short trend after a Ttf swing SwingHigh
if (HtfSwing[cc] == SwingLow && MtfSwing[cc] == SwingLow && TtfSwing[cc] == SwingHigh && bid < iOpen(symbol, TradingTimeFrame, 0) )
{
What do you guys think?