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.

neal51

Rubber Band Indicator

Recommended Posts

Thanks for the RubberBand Indicator, looks like it may have some good possibilities for me, a scalper at heart.

 

I took the liberty of making some changes that helped me apply it to my scalping needs. I added:

1. ColorChange Option

a. Option 1 is just with slope

b. Option 2 is slope plus using the MultiLow & MultiHigh plots as a trigger point

2. Scalability, so I could insert it in to a subgraph with other indicators

3. OverBought/OverSold line option

4. Inputs defaulted to use on my ES, 610 share bar chart

 

It appears the stronger moves originate when the Osc breaks below OB for a short and confirmed when the Osc breaks below MultiHigh and above OS amd abpve MultiLow for a long. Using other indicators as a directional filter, this indicator spots most every move.

 

Thanks again for the RubberBand!!

 

 

Code Below:

 

 

[LegacyColorValue = true];

 

Input:

LongLeg (89),

ShortLeg (55),

MultiLeg (89),

MultiW (0.55),

Scale (1000),

ColorChange (2 {1= Slope; 2= Slope+MultiH/L}),

UpColor (Blue),

UpCaution (Cyan),

DnColor (Red),

DnCaution (Magenta),

DispOb_OS (TRUE),

OB_OS (50);

 

Var:

SyncShort (0),

SyncLong (0),

SyncMulti (0);

 

Var:

TempSyncS (0),

TempSyncL (0),

TempSyncM (0),

MultiOsc (0);

 

 

Var: LongWeight (0),

ShortWeight (0),

MultiWeight (0),

MultiHigh (0),

MultiLow (0);

 

//Var:

// DateLock(980116);

 

ShortWeight = 2/(ShortLeg + 1);

LongWeight = 2/(LongLeg + 1);

 

If TempSyncS = 0 Then Begin

SyncShort = Close;

SyncLong = Close;

End

Else Begin

SyncShort = TempSyncS * (1 - ShortWeight) + (ShortWeight * Close);

SyncLong = TempSyncL * (1 - LongWeight) + (LongWeight * Close);

End;

 

TempSyncS = SyncShort;

TempSyncL = SyncLong;

 

 

MultiOsc = (100 * ( (SyncShort / SyncLong) - 1) );

 

//**** Display *******************************************************************************

 

Plot1(MultiOsc *Scale, "MO");

 

MultiWeight = 2/(MultiLeg + 1);

 

If TempSyncM = 0 Then

SyncMulti = MultiOsc

Else

SyncMulti = (AbsValue(TempSyncM) * (1 - MultiWeight)) + (MultiWeight * MultiOsc);

 

TempSyncM = SyncMulti;

 

 

MultiHigh = SyncMulti * MultiW;

MultiLow = -1 * MultiHigh;

 

Plot2 (MultiHigh *Scale,"MH");

Plot3 (MultiLow *Scale,"ML");

 

Print ("MO:", MultiOsc, " MH: ", MultiHigh, " ML: ", MultiLow);

 

If DispOB_OS = TRUE Then Begin

Plot4 (OB_OS, "OverBought");

Plot5 (OB_OS * -1, "OverSold");

End;

 

//**** Color Criteria **************************************************************************

 

If ColorChange = 1 Then Begin

If MultiOsc > MultiOsc[1] then

SetPlotColor (1, UpColor);

If MultiOsc < MultiOsc[1] Then

SetPlotColor (1, DnColor);

End;

 

 

If ColorChange = 2 Then Begin

If MultiOsc > MultiOsc[1] AND MultiOsc < MultiLow Then

SetPlotColor (1, UpCaution);

If MultiOsc > MultiOsc[1] AND MultiOsc > MultiLow Then

SetPlotColor (1, UpColor);

 

If MultiOsc < MultiOsc[1] And MultiOsc < MultiHigh Then

SetPlotColor (1, DnColor);

If MultiOsc < MultiOsc[1] AND MultiOsc > MultiHigh Then

SetPlotColor (1, DnCaution);

 

End;

Share this post


Link to post
Share on other sites

thx.....a question.

Can one 'copy' this above code & "paste" it to easylanguage, & then make a 'new' indicator/ELD? Not a techie here, but know how to copy & paste to make one. Thanks for the reply in advance.

 

ajax358

Share this post


Link to post
Share on other sites
thx.....a question.

Can one 'copy' this above code & "paste" it to easylanguage, & then make a 'new' indicator/ELD? Not a techie here, but know how to copy & paste to make one. Thanks for the reply in advance.

 

ajax358

 

I don't think TradeStation was designed for techies.

Can you read?

eg. the user manual table of contents.

Share this post


Link to post
Share on other sites

yes, i can read. Thx for the condescending remark....that was not necessary nor required. I asked a legitamte question to the author, not a smart ass commment from a person that obviously does not care. A real helpful response would be most approriate. Thanks for pointing out my stupidity, & I will read the users manual....real nice of you. Why not think of others before smartass comments made. Thx for the not help. :(

Share this post


Link to post
Share on other sites
yes, i can read. Thx for the condescending remark....that was not necessary nor required. I asked a legitamte question to the author, not a smart ass commment from a person that obviously does not care. A real helpful response would be most approriate. Thanks for pointing out my stupidity, & I will read the users manual....real nice of you. Why not think of others before smartass comments made. Thx for the not help. :(

 

you talk as if you don't know how to make an indicator

Share this post


Link to post
Share on other sites

I simply asked a question & advice....do not make assumptions you do not know about. Besides, as social apology would be in order & appropriate, that is if in ones consciuosness for comments made....

Share this post


Link to post
Share on other sites

Dirk....thx for the support against attitudinal people....they make Life harder than it already is...thx for taking my back.

 

to the Author/'neal51'....great Indicator!! Been using it for over a year now.....sees the truns real well on any time frame, from scalping to swing trades. In TS, I use it in a level with the "jtHMA" indicator, as they see the turns very close to one another & validate one another.....& this level of 2 ta's, validates my priimary level of MACD/Stoch combo.....all four make a great read in the turns & trends. Thanks "author" for posting this great indicator..... :)

 

To this new author update with colors.....will get it copied to TS easylanguage & see if can get it done. If anyone has an already "ELD" of this newer colored one, that would be swell. Thx, for the efforts.....

 

ciao.....ajax358

Share this post


Link to post
Share on other sites
you talk as if you don't know how to make an indicator

 

sorry , we are poor people, we are not genius like you........

 

the truth is, he knows how to make an indicator... LOL

Share this post


Link to post
Share on other sites

Rubber band?

That means elasticity!

And if so, then there must be some good price variation being measured there. If variation is been measured, then most probably, this indicator is based on standard deviation which is a good monitor for volatility,

 

If that is so, with increase in volatility, the band is expected to widen or expand and then tilt at an angle with a set price direction. To get the best of it, I suppose the trend must be understudied and this indicator should be suitable for a long term trend following action or perhaps a long distant price movement observable on higher timeframes.

 

So lines should cross appropriately when there will be enough volatility backing it up.

 

(Moderator: Sorry removed promotional URL for now -- need more history and contributions first)

 

To your trading success.

Aden

Share this post


Link to post
Share on other sites

Tams..............the truth is NOT that truth....a fact!! The fact is, TS changed the format page, & I could not find the "easylanguage" icon nor link, as they re-ordered the TS tools label. I had to call TS to find out where they put it....was easy when I found it. So, yes I know how to make an indicator, when can find the correct tab/label...as now have. So, no thx or help from you. Hmmmmm, I thought this site was to help one another, not belittle or berate folks??....hmmmm....something for ya to think about, rather than snide remarks. In fact, I have always held your comments & posts with thx, as you post many indicators, & shared them....so that thought & feeling has not changed at all, in fact I appreciate your efforts & have posted those thx to you an number of times.....just the belittleing ones are trite & mundane, & shows the real character of a person.........

Edited by ajax358

Share this post


Link to post
Share on other sites

"Wallan1"................hey great work & thx for sharing. I copied the above text & made an ELD....works great!! Thx very much for sharing!! This indiocator is one of my primary trend indicator, along with "StrategyRTSync", (from the TS library)....they work very well together, in the same level, & turn as Price turns....but have modified/other input settings from yours, that it turns the rubberB just before/as Price turns. Did allot of backtesting until came up with these input settings many months ago, on the first posting rubberB/142 indicator.

 

These faster settings for the inputs I use are these, & try them out & feedback is more than welsome....suggestions to improve especially.

Inputs:

LongLeg= 8

Shortleg= 5

MultiLeg= 5

MultiW= 1

....(the rest I keep the same as yours, but changed the colors for my charts, in the inputs).

 

These settingsd work on all time frames, from my Daily/Weekly swing trade charts, to my daily scalping charts (233/377/610 tick charts)(233tk, as entry chart; & 377/610 as trade mgm charts in the scalp trades).

Hope these settings are helpful to others.

 

ciao......ajax358..... :)

Share this post


Link to post
Share on other sites

thx "aaa" .............yup, finally found the new look pages..... :)

Me not a techie, so if things get changed, I get confused easy...lolll......am a 'doc', not a techie, so this is not my natural terrain to play in, but try....lol.... :)

 

ciao......ajax358

Share this post


Link to post
Share on other sites
Tams..............the truth is NOT that truth....a fact!! The fact is, TS changed the format page, & I could not find the "easylanguage" icon nor link, as they re-ordered the TS tools label. I had to call TS to find out where they put it....was easy when I found it. So, yes I know how to make an indicator, when can find the correct tab/label...as now have. So, no thx or help from you. Hmmmmm, I thought this site was to help one another, not belittle or berate folks??....hmmmm....something for ya to think about, rather than snide remarks. In fact, I have always held your comments & posts with thx, as you post many indicators, & shared them....so that thought & feeling has not changed at all, in fact I appreciate your efforts & have posted those thx to you an number of times.....just the belittleing ones are trite & mundane, & shows the real character of a person.........

 

it wasn't belittling... just a helpful direction

don't you find yourself smarter after reading my suggestion?

Share this post


Link to post
Share on other sites

Well, your "directions" were of no help at all.

And, as I already stated, & you obviously did not follow your own directions "to read", and that I found it out on 'my own' when went to TS techies, & that had nothing to do with you & was before your post.

Seems there is allot of ego here. Is funny actually, but ya know....truths have been said; the point has been made; the solution is at hand; enough said, & end of topic. Anymore on this is topic is just ego & self centeredness.

I wish you well, & still thank you for all your helpful posts & indicators in the past...... :)

Share this post


Link to post
Share on other sites

MMS, just so you know regarding quanity vs quality. I don't share random thoughts (like the sample below) because TL is overrun with vendor spam. If you boot me now it will save me the time I intend to spend calling out the flagrant violators. So bring it on if you're certain quantity trumps quality and aren't going to hold vendors accountable to pargraph 5 of the forum guidelines, ...or rewrite p 5 so everyone knows up front where the lines drawn.

 

 

RubberBand.eld reworked until everything fits conceptual norms ...except the wit (what_is_this) var. Anyone recognize the math behind wit or have an intuitive name that identifies wit's conceptual basis? ...this rewrite returns same values as original version.

 

input: fastLen(5), slowLen(35), medLen(10), multiplier(1);
var: fast(c), slow(c), fWt(2/(fastLen+1)), sWt(2/(slowLen+1)), mWt(2/(medLen+1)), osc(0), wit(0);

fast=fast*(1-fWt)+fWt*c;
slow=slow*(1-sWt)+sWt*c;
osc=100*(fast/slow-1);
wit=absvalue(wit)*(1-mWt)+mWt*osc*multiplier;

plot1(osc,"osc");
plot2(wit,"wit");
plot3(-wit,"-wit");

Share this post


Link to post
Share on other sites
FWIW, readings of less then 5 of either dmi line, + or - tend to show reversal areas.

 

Thanks for an interesting idea - I'd never considered using the DMI in this way. Just shows how brainwashed we can be into using an indicator in a particular way. Cheers.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 1st May 2024. Understanding the Implications of the FOMC Meeting. The FOMC will issue its post-meeting statement at 18:00 GMT tonight. “High-for-longer” is the expected outcome (but not higher) given more indications that progress on bringing inflation sustainably down to the 2% target has stalled out. With no new quarterly forecasts, it will be all about Chair Powell’s press conference when the Fed announces its policy stance tonight.   It is unlikely to be any more hawkish than what the markets are pricing in. Indeed, Chair Powell will have to acknowledge that the data are going the wrong way and he may even pre-empt the likely first question out of the box, “is a rate hike in the cards?” Meanwhile, Fed funds futures have not only fully priced out chances for a rate cut for this meeting and for June, but July as well. Risk for a reduction in September fell to below 50-50 on the initial spike in implied rates on the ECI news. The November contract reflects 20 bps in cuts, with a full quarter point easing now not seen until December. The FOMC is also expected to announce a slowing in Treasury runoff for June.   Economic Projections & Market Interpretation: The March update of the SEP revealed notable adjustments in key economic indicators. GDP forecasts for 2024 experienced a substantial upward revision, reflecting a more optimistic outlook with a growth rate of 2.1%, up from 1.4% in December. Similarly, projections for 2025 saw improvements, with the median jobless rate forecasts showing mixed trends but generally aligning with recent patterns. Expectations for headline and core PCE chain price indices also witnessed slight adjustments, indicating potential shifts in inflation dynamics. During the March meeting, the “dot plot” estimates hinted at a dovish stance by Fed members, with no indications of further rate hikes and median estimates suggesting potential rate cuts in 2024. This interpretation led markets to anticipate the initiation of quarterly rate cuts starting in June. As investors await the June SEP update, there is speculation about further adjustments in GDP estimates, PCE chain price indices, and the potential revision of rate cut expectations.   Analyzing the labor market reveals a complex picture of recovery and ongoing challenges. Payrolls have shown resilience in 2024, surpassing the previous year’s averages, albeit with variations across sectors. Despite improvements, the jobless rate remains a focal point, with fluctuations reflecting broader economic conditions. Additionally, metrics like the U-6 rate and wage growth provide insights into the labor market’s health and potential inflationary pressures.   Inflation Trends and Consumption Patterns: Inflation dynamics have been closely monitored, particularly amid recent fluctuations in commodity prices and supply chain disruptions. While recent CPI and PCE chain price measures suggest some moderation in inflationary pressures, concerns linger about the sustainability of these trends. The Fed’s attention to inflation remains paramount, shaping expectations for future policy actions. Consumer spending, a key driver of economic growth, has exhibited resilience despite ongoing uncertainties. Real personal consumption expenditures (PCE) have maintained positive growth rates, contributing to overall GDP expansion. However, shifts in consumption patterns and potential impacts on future economic performance warrant careful observation.   Market Expectations and Implications: As the FOMC meeting approaches, market participants are closely monitoring economic indicators and policy developments for insights into future market dynamics. The verbiage of the Fed statement and subsequent press briefing will be scrutinized for any hints regarding the timing of potential policy adjustments. Investors should remain vigilant and adaptable, considering the evolving economic landscape and its implications for investment strategies. The upcoming FOMC meeting holds significant implications for investors and economic stakeholders. Understanding recent economic developments, market expectations, and potential policy shifts is essential for navigating the dynamic financial environment. By staying informed and proactive, investors can position themselves to capitalize on emerging opportunities while managing risks effectively. 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 HFM 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. Andria Pichidi Market Analyst HFMarkets 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.
    • $MRO Marathon Oil stock moving higher off the 27.57 support area, https://stockconsultant.com/?MRO
    • $SILK Silk Road Medical stock strong close, breakout watch , https://stockconsultant.com/?SILK
    • $ABSI Absci stock back to 4.68 support area with high trade quality, https://stockconsultant.com/?ABSI
    • $IOVA Iovance Biotherapeutics stock attempting to move higher off the 11.64 gap support area, https://stockconsultant.com/?IOVA
×
×
  • Create New...

Important Information

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