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,797 views
    2. thumb_up 9 thanks given
    3. group 1 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Wick Top or Bottom

  #1 (permalink)
 
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 Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
33 thanks
Just another trading journal: PA, Wyckoff & Trends
28 thanks
Tao te Trade: way of the WLD
23 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,973 since Sep 2015
Thanks Given: 15,493
Thanks Received: 15,387


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.

Reply With Quote
Thanked by:
  #3 (permalink)
 
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 Reply With Quote
Thanked by:
  #4 (permalink)
 
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 Reply With Quote
Thanked by:
  #5 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,973 since Sep 2015
Thanks Given: 15,493
Thanks Received: 15,387


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.

Reply With Quote
Thanked by:
  #6 (permalink)
 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 Reply With Quote
Thanked by:
  #7 (permalink)
 
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 Reply With Quote
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