Various Indicators (Squeeze,2FastMa's,etc) - Page 2 - Traders Laboratory

Go Back   Traders Laboratory > Trading Resources > Trading Indicators

Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.


Comment
 
LinkBack Release Tools Display Modes
 
Old 04-03-2008, 07:35 AM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 406
Thanks: 92
Thanked 40 Times in 26 Posts
Various Indicators (Squeeze,2FastMa's,etc)

Here is a bundle of indicators for you, the development of them were requested as per this thread.

http://www.traderslaboratory.com/for...tion-3168.html

I have been hesitant to post these as some of them are NOT the same as per the above thread. But due to several requests recently I'm posting them anyway.

The attached...

__________________
Remember - Take the path of least resistance.
Reply With Quote
The Following 2 Users Say Thank You to Blu-Ray For This Useful Post:
  #10 (permalink)  
By moneymarkets on 04-15-2008, 09:17 PM
Re: Various Indicators (Squeeze,2FastMa's,etc)

btrader2 ,Did you get the code of the br_squeeze to plot in MC 3.0, if so would you post the PLEditor.Document for it?
Thanks
Reply With Quote
  #11 (permalink)  
By btrader2 on 04-15-2008, 10:13 PM
Re: Various Indicators (Squeeze,2FastMa's,etc)

moneymarkets,
It appears that a .pla file is not accepted for uploading in this forum. Do you know that the squeeze indicator requires the jtHMA function to work? Could that be your problem?

Regards
Reply With Quote
  #12 (permalink)  
By Blu-Ray on 04-16-2008, 03:56 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

My Apologies, it requires the jtHMA function which I forgot to post the code, so here it is:

{jtHMA - Hull Moving Average Function}
{Author: Atavachron}
{May 2005}

Inputs: price(NumericSeries), length(NumericSimple);
Vars: halvedLength(0), sqrRootLength(0);

{
Original equation is:
---------------------
waverage(2*waverage(close ,period/2)-waverage(close,period), SquareRoot(Period)
Implementation below is more efficient with lengthy Weighted Moving Averages.
In addition, the length needs to be converted to an integer value after it is halved and
its square root is obtained in order for this to work with Weighted Moving Averaging
}

if ((ceiling(length / 2) - (length / 2)) <= 0.5) then
halvedLength = ceiling(length / 2)
else
halvedLength = floor(length / 2);

if ((ceiling(SquareRoot(leng th)) - SquareRoot(length)) <= 0.5) then
sqrRootLength = ceiling(SquareRoot(length ))
else
sqrRootLength = floor(SquareRoot(length)) ;

Value1 = 2 * WAverage(price, halvedLength);
Value2 = WAverage(price, length);
Value3 = WAverage((Value1 - Value2), sqrRootLength);

jtHMA = Value3;


Hope this helps

Blu-Ray
Reply With Quote
  #13 (permalink)  
By Blu-Ray on 04-16-2008, 08:00 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Here's a new one that's just been added:

BR_Trend_Bars



and the code : ( You'll need the jtHMA function as posted above )

Inputs:
Price(Close),
Length1(13),
Length2(34),
Length3(89),
UpLevel(35),
MidLevel(0),
LwrLevel(-35);



Value1 = jthma(Price,Length1);
Value2 = jthma(Price,Length2);
Value3 = jthma(Price,Length3);

if Value1 > Value1[1] then Plot1(UpLevel,"UpLevel", Green) else Plot1(UpLevel,"UpLevel", Red);

if Value2 > Value2[1] then Plot2(MidLevel,"MidLevel" ,Green) else Plot2(MidLevel,"MidLevel" ,Red);

if Value3 > Value3[1] then Plot3(LwrLevel,"LwrLevel" ,Green) else Plot3(LwrLevel,"LwrLevel" ,Red);


Hope this helps

Blu-Ray
Attached Images
File Type: png br_trend_bars1.png (67.5 KB, 602 views)
Attached Files
File Type: eld BR_TREND_BARS.ELD (5.4 KB, 142 views)
Reply With Quote
  #14 (permalink)  
By max-td on 04-16-2008, 08:14 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Great work Blu-Ray !
Is it possible to convert these things to NinjaTrader - Indicators ?
Your last one - it shows different HMA - length on the bottom-line with these dots ?
Reply With Quote
  #15 (permalink)  
By Blu-Ray on 04-16-2008, 08:30 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Quote:
View Post
Great work Blu-Ray !
Is it possible to convert these things to NinjaTrader - Indicators ?
Your last one - it shows different HMA - length on the bottom-line with these dots ?
It should be possible to convert them to Ninjatrader, however I don't know how to use their coding language.

If I'm understanding your last question correctly, the three lines are all different lengths, top one being 13hma, middle 21hma and the bottom one a 89hma.

Hope this helps

Blu-Ray
Reply With Quote
  #16 (permalink)  
By max-td on 04-16-2008, 09:00 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

fine - thats i was asking for ;-)
Maybee anyone here is able to translate TS to Ninja codes.
Would be great !
Reply With Quote
  #17 (permalink)  
By garp on 04-16-2008, 12:14 PM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Blue Ray, thank you very much, the code of BR Squeeze successfuly compiled in Multicharts 2.1. Sorry for the late thanx, I was out for some days, but it's better later then never.
Reply With Quote
  #18 (permalink)  
By whisper01Barry on 04-17-2008, 12:44 AM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Cool Beans!!!
Thanks
Barry
Reply With Quote
  #19 (permalink)  
By TipsyTzar on 04-19-2008, 04:12 PM
Re: Various Indicators (Squeeze,2FastMa's,etc)

Blue Ray, those look great. Would you be able to code (for TS) the slower MA's (the two dotted ones)? It makes for a great study for a beginner like me (as well as learning how to code). Thanks!!
Reply With Quote
Comment



Currently Active Users Viewing This Release: 1 (0 members and 1 guests)
 
Release Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Release Release Starter Category Comments Last Post
BB Squeeze Replica For Tradestation Soultrader Trading Indicators 33 08-28-2008 08:47 PM
BB Squeeze (Version of TTM Squeeze) ashokkuttan Market Analysis 26 08-14-2008 01:34 PM
Does anyone have the squeeze indicator pajusa Beginners Forum 24 05-21-2008 11:17 AM
BB Squeeze indicator januson Technical Analysis 2 03-17-2007 06:14 PM
Squeeze base indicators januson Coding Forum 2 03-16-2007 06:06 PM


All times are GMT -4. The time now is 10:18 PM.

 

 
 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76