Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

kirtime

TTM Wave a B C Indicator Code

Recommended Posts

Try this Link

 

Download TTM Squeeze Indicator For Amibroker (AFL)

 

//~~~~~~~~~~~~~~~~~~~~~ John Carter's TTM Squeeze Indicator~~~~~~~~~~~~~~~~~~~~~
//	Description:	Bollinger Bands AND Keltner Channel define the market
//					conditions, i.e. when BB is narrower than KC then we have
//					a market squeeze.  When BB break Outside the KC then trade
//					in the direction of the smoothed Momentum(12).
//	Parameters:	
//				*	chanPeriod    - Bollinger Bands AND Keltner Channel length
//				*	bolBandStdDev - width of the Bollinger Bands
//				*	keltStdDev    - width of the Keltner Bands
//				*	momPeriod     - # of bars for Momentum indicator
//				*	momEMA        - EMA of the Momentum indicator
//
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//	Source              :   John Carter, www.TradeTheMarkets.com
//	Interpretation      :	Kris Tokarzewski, Johannesburg, 15-Dec-2006
// AmiBroker Conversion:   Levent Pancuk, 22 Feb-2008 
//                         lpancuk@yahoo.com
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_SECTION_BEGIN("TTM Squeeze");

function Momentum( array, period )
{
 return array - Ref( array, -period );
}



chanPeriod     = Param("Channel Period", 20);
bolBandStdDev  = Param("Bollinger Band StdDev",2);
keltStdDev     = Param("Keltner Band StdDev",1.5);
momPeriod      = Param("Momemtum Period", 12 );
momEMA         = Param("Momentum EMA Period", 5);

highBBChl = BBandTop( C, chanPeriod, bolBandStdDev);
lowBBChl  = BBandBot( C, chanPeriod, bolBandStdDev); 

centerLine = MA( C, chanPeriod );
highKeltn  = centerLine + keltStdDev * ATR(chanPeriod);
lowKeltn   = centerLine - keltStdDev * ATR(chanPeriod);

momHist = EMA(Momentum(C, momPeriod),momEMA);

BBUp  = IIf(highBBChl > highKeltn AND momHist > 0, momHist, 0);
BBDo  = IIf(lowBBChl < lowKeltn AND momHist < 0, momHist, 0);
BBMid = IIf(BBUp == 0 AND BBDo == 0, momHist, 0);


Buy  = BBUp; 
Sell = BBDo; 

Buy = ExRem(Buy,Sell)AND Volume>25000;
Sell = ExRem(Sell,Buy)AND Volume>25000;

Plot(BBUp, "TTM Squeeze - Momentum Up", colorBlue,styleHistogram  | styleThick);
Plot(BBDo, "Momentum Down", colorOrange, styleHistogram  | styleThick);
Plot(BBMid, "Momentum Mid", IIf(BBMid > 0, colorLightBlue, colorBrown), styleHistogram  | styleThick);

PlotShapes( shapeSmallCircle*Buy, colorGreen,0, 0, 0); 
PlotShapes( shapeSmallCircle*Sell, colorRed,0, 0, 0);

AlertIf( Buy, "", "Simple text alert", 2 );

_SECTION_END();

Share this post


Link to post
Share on other sites

Hi

Could someone Open attached TradeStation ELD File

name: " 20110116171505TTM-ABC-WAVES.ELD "

 

And post the contents of this ELD file as Text on this Traderslaboratory site

 

(Link below

http://cdn3.traderslaboratory.com/forums/attachments/46/37150d1380685556-ttm-wave-20110116171505ttm-abc-waves.eld

 

With thanks to " johnnydaymon " for the original File

Thank you in advance

Derek

37150d1380685556-ttm-wave-20110116171505ttm-abc-waves.eld

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Topics

  • Posts

    • Actions for the 23rd.  Hugely frustrating day, picked my spots but my timing was off.  I don't seem able to find a trade that will survive long enough for me to manage and test my patience, that in itself is testing me right now.
    • Actions for the 22nd.  I seem to be on a bad run, I'm really struggling with the opening minutes of the trades I'm taking and then get sucked into a little over trading.
    •   Date : 23rd January 2019.

      MACRO EVENTS & NEWS OF 23rd January 2019.



      FX News Today 10-year Treasury yields are down from overnight highs, but still up 0.7 bp at 2.746%, and 10-year JGB yields climbed 0.8 bp to -0.004%. Stock markets remained cautious during the Asian session. The Bank of Japan held policy steady, as expected, while further reducing its outlook for inflation. The resulting weakness in the Yen didn’t help stock markets and Topix and Nikkei dropped -0.60% and -0.14% respectively. The Hang Seng is also down -0.04%, despite mainland China markets initially moving higher as China’s central bank pumped liquidity into the banking system once again. Still, the measures are also a sign that officials are nervous about the slowdown in the economy and CSI 300 and Shanghai Comp are down -0.24% and -0.13%. The bank offered around 258 bln Yuan (USD 38 bln) to banks through its medium term lending tool. Markets continue to question the progress in the US-Sino trade talks, even though White House adviser Lawrence Kudlow said that the trade talks are still on and the story about cancelled preparatory meetings was “not true, there was never any meeting. We are moving toward negotiations.” The negotiations next week will be “very, very important” and “determinative”. Meanwhile, there are the first signs of a possible way out of the US government shutdown. Markets remain easily spooked, but appear to have already priced in a lot of risk last year and US stock futures are moving higher after yesterday’s sell off. Oil prices are trading at USD 53.27 per barrel. Charts of the Day

      Main Macro Events Today Canadian Retail Sales – After Wholesale Sales plummeted yesterday, Canadian Retail Sales are expected to have also declined by 0.4% m/m, with core Retail Sales (ex autos) expected to have declined by 0.6%. World Economic Forum at Davos –The second day of the WEF annual meetings held in Davos and attended by officials from over 90 countries. Comments from central bankers and other influential officials can create significant market volatility. Richmond Manufacturing Index – Expectations – The index is expected to have remained at a sub-zero level, standing at -2 after the -8 in the December release. Support and Resistance Levels
       

      Always trade with strict risk management. Your capital is the single most important aspect of your trading business.

      Please note that times displayed based on local time zone and are from time of writing this report.

      Click HERE to access the full HotForex Economic calendar.

      Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE!

      Click HERE to READ more Market news.

      Dr Nektarios Michail
      Market Analyst
      HotForex

      Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • USDJPY Eyes The 109.88 Resistance Zone And Beyond USDJPY eyes the 109.88 resistance zone beyond as it looks to resume its upside pressure. On the upside, resistance comes in at 110.00 level. A turn above here will turn attention to the 110.50 level. Further out, we expect a possible move towards the 111.00 level if the earlier resistance is invalidated out. The next resistance resides at the 111.50. Its daily RSI is bullish and pointing higher suggesting further strength. On the downside, support comes in at the 109.50 level where a break will target the 109.00 level. Below that level will turn focus to the 108.50 level and then lower the 108.00 level. On the whole, USDJPY faces further upside pressure on corrective recovery.  
    • $AVGR (AVGR) Avinger stock strong day w/ bottom breakout watch above 0.38,


      analysis https://stockconsultant.com/?AVGR
×

Important Information

By using this site, you agree to our Terms of Use.