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 5,321 views
    2. thumb_up 2 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 2 attachments




 
Search this Thread

Tricky NinjaScript coding {questions} . . .

  #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:	167
Size:	104.2 KB
ID:	152384  
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
COT Sugar
Commodities
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
16 thanks
GFIs1 1 DAX trade per day journal
12 thanks
EG Indicators
11 thanks




Last Updated on August 2, 2014


© 2024 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 - Privacy Policy - Downloads - Top
no new posts