Need help with strategy PriceActionSwingPro - futures io
futures io

Need help with strategy PriceActionSwingPro

Discussion in NinjaTrader

    1. trending_up 1,167 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 1 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)
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.

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

Can you help answer these questions
from other members on futures io?
TD Sequential for NT or MW?
Platforms and Indicators
Is there inherently more opportunity in smaller markets?
Traders Hideout
For the experts of Metastock
Platforms and Indicators
MacdBB V402 NT804 + gradient + pullback not working on N …
Experience with AGN (Introducing Broker)
Best Threads (Most Thanked)
in the last 7 days on futures io
QG mini Natural Gas ( Position size ) calculation
19 thanks
Want your NinjaTrader indicator created, free?
18 thanks
Avoiding Account Killing Freight Trains
15 thanks
The Beast Slayer, Lances NQ Trading Journal
13 thanks
Wyckoff room
12 thanks
(login for full post details)
  #2 (permalink)
Dunlap Illinois
Experience: Intermediate
Platform: NinjaTrader
Trading: YM
Posts: 26 since Mar 2017
Thanks: 26 given, 5 received

I am attempting to use the PAS indicator to code my own strategy but I am running into some issues/questions.

1) I'm working on the buy side now and I have successfully got the strat to enter a BuyStopMarket order after the HL prints but my issue is since the indi repaints, I am getting a lot of stop outs even with a offset Buy Stop order due to the nature of the repaint. Is there a way around this, or is there an exposed variable I can call on for my strat that will only look at the "final" paint value?

2) Also, around those same lines I want my strat to read in the volume values for each swing and based on a will either take the buy or pass on the buy based on some simple if/then logic. Essentially a filter if you will, to filter out not so great trades. I have yet to find a variable in his PAS code that will expose the volume info that I can use in my code. Is this possible? And if so, how can I also use it to avoid repainted volume data?

3) Thirdly, has anyone tried using this PAS indicator on Blackbird and done these more advanced strategies successfully? I'm toying the idea of giving Blackbird a free trial/demo to code this strategy for me and instead of me doing it by code alone but don't want to waste time if its not going to work.

In case you were is my SUPER BASIC buy logic I am working with right now......

// Buy Logic
			if ((Position.MarketPosition == MarketPosition.Flat)
				&& (PriceActionSwing1.HigherLow[0] != 0)
				&& (Close[0] > PriceActionSwing1.HigherLow[0]))
				EnterLongStopMarket(Close[0] + 1 * TickSize, "long");
TIA for any and all suggestions and help!


Reply With Quote

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

Last Updated on May 16, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!

Ongoing Happy Hour with Cem Karsan w/Cem Karsan

Elite only

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


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),
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