NexusFi: Find Your Edge


Home Menu

 





Tricky NinjaScript coding {questions} . . .


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one jmejedi with 3 posts (0 thanks)
    2. looks_two eman with 3 posts (0 thanks)
    3. looks_3 TheWizard with 2 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 8,499 views
    2. thumb_up 2 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 2 attachments




 
Search this Thread
  #11 (permalink)
 
TheWizard's Avatar
 TheWizard 
Houston, TX
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Futures, AMP, CQG
Trading: 6E
Posts: 1,731 since Jun 2009
Thanks Given: 517
Thanks Received: 4,224


cory View Post
common sense says you can only enter after signal bar.

Perhaps I didn't explain fully. Obviously, I can only enter after the signal bar, but I want to enter at the LOW (for shorts) or HIGH (for longs) of the bar PRIOR to the signal bar.

Say the price is declining and the signal bar is sensed, and the low the bar PRIOR to the signal bar was 1350.50. I want to go short at 1350.50, even though the signal bar may now be lower than 1350.50 (I'm trying to get short on a slight retracement).

Conversely, if price is rising and the signal bar is is sensed, and the high of the bar PRIOR to the signal bar was at 1350.00, I want to go long at 1350.00, even though the signal bar may now be higher than 1350.00 (I'm trying to get long on a slight retracement).

See chart attached with notation. Hopefully the picture with notation will clarify what I'm attempting to do.

As always, I thank you for your comments and help.


After all, it's what you learn AFTER you know it all, that counts!
Attached Thumbnails
Click image for larger version

Name:	Automated example.jpg
Views:	228
Size:	104.2 KB
ID:	152384  
Reply With Quote
Thanked by:

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks




Last Updated on August 2, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, 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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts