NexusFi: Find Your Edge


Home Menu

 





Yet a nother indicator?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,051 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 Gibban 
Stockholm
 
Experience: Beginner
Platform: NinjaTrader, MultiCharts
Trading: Forex
Posts: 14 since Feb 2014
Thanks Given: 25
Thanks Received: 4

Hello fellow traders!

I am trying to find a indicator that can point out the size of the wig.

Like, if the wig is X % of the range then paint bar.
X should be a input.

Anyone who know how to find?

Best regards
Gibban


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


Gibban,

if you mean "wick" this should be fairly easy to code (I am guessing that wig is a typo, as I can't place it on anything trading related). Are you looking at the distance from High to Low and compare it to the body of a candle or only the wick part outside of the candle body? Or do you mean something completely different?

Regards,
ABCTG


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 Gibban 
Stockholm
 
Experience: Beginner
Platform: NinjaTrader, MultiCharts
Trading: Forex
Posts: 14 since Feb 2014
Thanks Given: 25
Thanks Received: 4

ABCTG,

Yes you are right, its a typo! I mean wick

What I mean is the size of the wick in % of the range of the candle.

Like show me indicator, paint bar if the wick is => than 20% of the total range of the bar.

Regards,
Gibban


Started this thread Reply With Quote
  #5 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

Gibban,

I lift my wig then .
This should get you going.

 
Code
Inputs:
	BarColor 				( yellow ),
	WickPercentage			( 20 );
	
Variables:
	BodyRangeRelation			( 0 ),
	WickPercent				( 0 );
	
once 
begin
	WickPercent = IFF( WickPercentage >= 0 and WickPercentage <= 100, WickPercentage / 100, 1 ) ;
	WickPercent = 1 - WickPercent ; //we simply turn the check around, check if the body is smaller than 100 - WickPercentage 	
end ;

//compute body percantage of the candle 
if ( High - Low ) <> 0 then
	BodyRangeRelation = AbsValue( Open - Close ) / ( High - Low ) 
else
	BodyRangeRelation = 1 ;

//plot paint bar
if BodyRangeRelation < WickPercent then
	PlotPaintBar( High, Low, Open, Close, "PB", BarColor ) ;
Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:
  #6 (permalink)
 Gibban 
Stockholm
 
Experience: Beginner
Platform: NinjaTrader, MultiCharts
Trading: Forex
Posts: 14 since Feb 2014
Thanks Given: 25
Thanks Received: 4

Thanks ABCTG!

Definitely something to get me going.

If I find the Holey Grale, I send you a line

Best regards

Gibban


Started this thread Reply With Quote




Last Updated on January 3, 2015


© 2026 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 - Downloads - Top
no new posts