NexusFi: Find Your Edge


Home Menu

 





Close[2] == High[2]


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cory with 1 posts (1 thanks)
    2. looks_two Silvester17 with 1 posts (1 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 ceramictilepro with 1 posts (0 thanks)
    1. trending_up 1,295 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread

Close[2] == High[2]

  #1 (permalink)
 ceramictilepro 
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
Posts: 124 since Jun 2009
Thanks Given: 32
Thanks Received: 21

Hello,

I was trying to make an indicator to draw an arrow based on the following but the arrow is not drawing on the chart.

Any help would be appreciated

if(Close[2] == High[2] && Close[1] == Low[1]

{draw an arrow on the current bar}

Thank You

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


a) you are missing the right parenthesis )

b) put this inside the bracket

DrawArrowUp("MyArrowUp"+CurrentBar, 0, Low[0] -3* TickSize, Color.DodgerBlue);

Reply With Quote
Thanked by:
  #4 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


ceramictilepro View Post
Hello,

I was trying to make an indicator to draw an arrow based on the following but the arrow is not drawing on the chart.

Any help would be appreciated

if(Close[2] == High[2] && Close[1] == Low[1]

{draw an arrow on the current bar}

Thank You

not exactly sure what you're trying to do. did a quick test indicator. maybe it will help you.


Attached Files
Elite Membership required to download: test.cs
Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,443 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,607


ceramictilepro View Post
Hello,

I was trying to make an indicator to draw an arrow based on the following but the arrow is not drawing on the chart.

Any help would be appreciated

if(Close[2] == High[2] && Close[1] == Low[1]

{draw an arrow on the current bar}

Thank You

Check the log tab?

Do you have a:

if (CurrentBar < 2) return;

?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on August 28, 2012


© 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