Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Take signals only once based on a trend

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Take signals only once based on a trend

    Hi there

    When writing a strategy when I have a signal to go long or short AND take 5 ticks of profit, how do I make sure it DOES NOT take another 5 ticks of the next bar i.e. I only want 5 ticks ONCE until I get another signal.

    thanks
    Last edited by ninjamouse; 12-31-2011, 10:13 AM.

    #2
    I agree, I am setting up a strategy that once it closes and hits the target, if the conditions (ie MACD diff is below MACD avrg) are still true it goes back in a trade. like ninjamouse said, how can i set it until it gets a new signal.

    NinjaMouse, I am going to look around the forum, if i find something, i will paste it here.

    Enjoy!

    Comment


      #3
      Have you tried setting a user variable Boolean to TRUE when you enter the trade, then don't allow a new trade in that direction if TRUE? The New signal can do the opposite.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      66 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X