Need help with strategy PriceActionSwingPro - futures io
futures io



Need help with strategy PriceActionSwingPro


Discussion in NinjaTrader

Updated
    1. trending_up 571 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 0 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Need help with strategy PriceActionSwingPro

(login for full post details)
  #1 (permalink)
 maxuscz 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
 
Posts: 22 since Dec 2020
Thanks: 12 given, 5 received

Hi all.
I make strategy and I can't implement "Sell stop limit order" place in strategy code

I need put stop limit order only when current price go down and cross blue line - it s price counted from red line.



I know red line price it is PriceActionSwingPro1.entryLevels[0]
and can count all other points from this line

My variant dosnt work - Price go up above blue line but order placed and filled immidiatly when price jut go up. Fille dwithout my rules. And I dont see my mistake.

 
Code
if ((PriceActionSwingPro1.Entries[0] < 0) //My signal if we go down
&& Close[0] >= (PriceActionSwingPro1.entryLevels[0] + ( 5 * TickSize)) // If current price more or equal redline price + 5 ticks
&& ((BarsSinceExitExecution(0, "", 0) == -1) || (BarsSinceExitExecution(0, "", 0) >0)))
				
{
   EnterShortStopLimit(Convert.ToInt32(DefaultQuantity), PriceActionSwingPro1.entryLevels[0] + ( 3 * TickSize),PriceActionSwingPro1.entryLevels[0] + ( 4 * TickSize), @"SignalDN");			
				
   }

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Need help with strategy PriceActionSwingPro


Last Updated on April 22, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

NEW BlackBird Features + FOREX Support w/Jeremy Tang @ SharkIndicators

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts