Close[2] == High[2] - futures io
futures io futures trading



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 976 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 2 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
 

Close[2] == High[2]

(login for full post details)
  #1 (permalink)
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 20 received

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

 
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,030 since Jun 2009
Thanks: 845 given, 7,894 received


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
The following user says Thank You to cory for this post:
 
(login for full post details)
  #4 (permalink)
Market Wizard
Columbus, OH
 
Experience: None
Platform: NT 8, TOS
Trading: ES
 
Silvester17's Avatar
 
Posts: 3,578 since Aug 2009
Thanks: 5,063 given, 11,358 received


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
Register to download File Type: cs test.cs (6.3 KB, 5 views)
Reply With Quote
The following user says Thank You to Silvester17 for this post:
 
(login for full post details)
  #5 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,779 since Jun 2009
Thanks: 32,306 given, 97,566 received


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

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Close[2] == High[2]


Last Updated on August 28, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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