NexusFi: Find Your Edge


Home Menu

 





Wick Top or Bottom


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Bullywig with 2 posts (2 thanks)
    2. looks_two xplorer with 2 posts (3 thanks)
    3. looks_3 Popsicle with 2 posts (3 thanks)
    4. looks_4 Grantx with 1 posts (1 thanks)
      Best Posters
    1. looks_one xplorer with 1.5 thanks per post
    2. looks_two Popsicle with 1.5 thanks per post
    3. looks_3 Bullywig with 1 thanks per post
    4. looks_4 Grantx with 1 thanks per post
    1. trending_up 1,784 views
    2. thumb_up 9 thanks given
    3. group 1 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
 

Wick Top or Bottom

 
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 68 since Oct 2015
Thanks Given: 42
Thanks Received: 22

Is there a way to identify a wick at the top or bottom of a candlestick? I would like to use this condition as a simple trade filter, or build a simple indicator.

Started this thread
Thanked by:

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Better Renko Gaps
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
 
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291


Bullywig View Post
Is there a way to identify a wick at the top or bottom of a candlestick? I would like to use this condition as a simple trade filter, or build a simple indicator.

Yes - a wick indicates that the high/low is different from the open/close of a candlestick, so you can build conditions based on that.



For example, a bottom wick condition would be

Open[0] != Low[0]

for the current bar if it's an up bar and

Close[0] != Low[0]

for the current bar if it's a down bar.

Thanked by:
 
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 68 since Oct 2015
Thanks Given: 42
Thanks Received: 22



xplorer View Post
Yes - a wick indicates that the high/low is different from the open/close of a candlestick, so you can build conditions based on that.



For example, a bottom wick condition would be

Open[0] != Low[0]

for the current bar if it's an up bar and

Close[0] != Low[0]

for the current bar if it's a down bar.

Can I assume that != represents greater than? If that's the case...

In an attempt to follow your logic, would an up bar with a top wick be represented as:

High[0] != Close[0]

Thank you for taking the time to answer this very rudimentary question. Just beginning to dabble with code.

Started this thread
Thanked by:
 
 
Popsicle's Avatar
 Popsicle 
Pretoria Gauteng
 
Experience: Intermediate
Platform: Sierra Charts
Trading: NQ
Posts: 250 since May 2016
Thanks Given: 2,448
Thanks Received: 550


Bullywig View Post
Can I assume that != represents greater than? If that's the case..

!= means 'not equal to'



Sent using the NexusFi mobile app

Follow me on Twitter
Thanked by:
 
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291


Bullywig View Post
Can I assume that != represents greater than? If that's the case...

In an attempt to follow your logic, would an up bar with a top wick be represented as:

High[0] != Close[0]

Thank you for taking the time to answer this very rudimentary question. Just beginning to dabble with code.

No, != means 'different from', so the above condition means High different from Close, which would validate a top wick for an up bar.

So some conditions with the same logic would be

Up bar
Close[0]>Open[0]
Open[0] != Low[0]
The first condition (close bigger than the open) checks that it is in fact an up bar.
The second condition (open different from low) checks that there is a bottom wick.

Down bar
Close[0]<Open[0]
Open[0] != High[0]
The first condition (close smaller than the open) checks that it is in fact an down bar.
The second condition (open different from high) checks that there is a top wick.

Thanked by:
 
 Grantx 
Reading UK
Legendary no drama Llama
 
Experience: None
Posts: 1,787 since Oct 2016
Thanks Given: 2,826
Thanks Received: 5,058


Popsicle View Post
!= means 'not equal to'



Sent using the NexusFi mobile app

That's what it means in c# . I'm not sure about ninjascript though.

Sent using the NexusFi mobile app

Visit my NexusFi Trade Journal
Thanked by:
 
 
Popsicle's Avatar
 Popsicle 
Pretoria Gauteng
 
Experience: Intermediate
Platform: Sierra Charts
Trading: NQ
Posts: 250 since May 2016
Thanks Given: 2,448
Thanks Received: 550


Grantx View Post
That's what it means in c# . I'm not sure about ninjascript though.

Sent using the NexusFi mobile app

It is a common misconception that it is two different things. You develop in C# for NinjaTrader.

Sent using the NexusFi mobile app

Follow me on Twitter
Thanked by:

 



Last Updated on March 12, 2017


© 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