NexusFi: Find Your Edge


Home Menu

 





Yet a nother indicator?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,974 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?
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642


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,642

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