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

    • $VKTX Viking Therapeutics stock attempting to move higher off the 64.24 support area, volume 47% above normal, https://stockconsultant.com/?VKTX
    • Date: 26th April 2024. Alphabet Easily Beat Earnings Predictions But Focus Shifts to Today’s PCE Data. Microsoft and Alphabet’s earnings reports beat expectations pushing the NASDAQ to the top of the charts. The Bank of Japan keep interest rates unchanged applying pressure on the Japanese Yen. The Yen Index declines 0.36% and is down 40% against the USD over the past 5 years. The US GDP growth rate falls below its 2.5% expectations, reading 1.6%, but economists advise the Fed may only cut once in 2024! The market turns its attention to the Core PCE Price Index which analysts expect to fall from 2.8% to 2.6%. USA100 – Alphabet Easily Beat Analysts’ Earnings Predictions and Sees its P/E Ratio Fall! The price of the NASDAQ ended the day higher and rose to a slightly higher high. As a result, the index is close to forming a traditional bullish trend and making Wednesday’s decline a retracement or medium-term correction. In terms technical analysis, indicators are mainly indicating a reverting price condition where the asset cannot maintain longer term momentum. However, momentum indications provide a slight bullish bias. The upward price movement is being driven by earnings reports from Microsoft and Alphabet which beat earnings expectations. Microsoft is the most influential stock for the NASDAQ while Alphabet is the third most influential. Alphabet’s earnings beat expectations by 21.61% and revenue rose more than $6 billion. As a result, the price of the stock rose 11.56% after market close. Furthermore, Microsoft’s Earnings Per Share beat Wall Street’s expectations by 3.40% and revenue by 1.50%. The stock rose by 4.30% after market close and is close to trading at the all-time high. However, investors should note that from the “magnificent 7”, Alphabet and Meta have the lowest Price to Earnings ratio. Meaning these stocks are the most likely to be trading below their intrinsic value. However, investors should note that negatives for the stock market in general remain. This also supports the bias shown by technical analysis. The GDP growth rate fell considerably below expectations while inflation data continues to show signs of rising prices. Investors will closely be monitoring today’s Core PCE Price Index which is the most watched index by the Federal Reserve. Analysts expect the Core PCE Price Index to fall from 2.8% to 2.6%. If the index reads more than 0.3%, a rate cut will become unlikely making stocks less attractive. Whereas, if the PCE Price Index is not as high as expectations, Bond Yields will likely decline, as will the US Dollar and a rate cut will be put back on the table. As a result, investors may look to take advantage of the strong earnings and continue purchasing stocks. USDJPY – BOJ Hold Interest Rates Unchanged! The price of the USDJPY exchange rate again rose to an all-time recent high after increasing in value for 3 consecutive days. Trend and momentum-based indicators point towards a higher price. However, the exchange rate is trading within the overbought range of most oscillators and is also showing a divergence pattern. Both are known to indicate a decline, but not necessarily a complete change of trend. The Bank of Japan’s statement from earlier this morning was largely “dovish” and gave no clear indication that the central bank wishes to keep rising interest rates. However, shortly the Governor will answer questions from journalists and may give a more hawkish tone. Either way, investors are mainly concentrating on if the Federal Government will again opt to intervene within the currency market. Most economists believe the intervention will only come if the USD continues to rise and it will not be before the Core PCE Price Index. 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. Michalis Efthymiou 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.
    • 📁 Population in 2100, as projected by UN Population Division.   🇮🇳 India: 1,533 million 🇨🇳 China: 771 million 🇳🇬 Nigeria: 546 million 🇵🇰 Pakistan: 487 million 🇨🇩 Congo: 431 million 🇺🇸 US: 394 million 🇪🇹 Ethiopia: 323 million 🇮🇩 Indonesia: 297 million 🇹🇿 Tanzania: 244 million 🇪🇬 Egypt: 205 million 🇧🇷 Brazil: 185 million 🇵🇭 Philippines: 180 million 🇧🇩 Bangladesh: 177 million 🇳🇪 Niger: 166 million 🇸🇩 Sudan: 142 million 🇦🇴 Angola: 133 million 🇺🇬 Uganda: 132 million 🇲🇽 Mexico: 116 million 🇰🇪 Kenya: 113 million 🇷🇺 Russia: 112 million 🇮🇶 Iraq: 111 million 🇦🇫 Afghanistan: 110 million   @FinancialWorldUpdates Profits from free accurate cryptos signals: https://www.predictmag.com/   
    • “If the West finds itself falling behind in AI, it won’t be due to a lack of technological prowess or resources. It won’t be because we weren’t smart enough or didn’t move fast enough. It will be because of something many of our Eastern counterparts don’t share with us: fear of AI.   The root of the West's fear of AI can no doubt be traced back to decades of Hollywood movies and books that have consistently depicted AI as a threat to humanity. From the iconic "Terminator" franchise to the more recent "Ex Machina," we have been conditioned to view AI as an adversary, a force that will ultimately turn against us.   In contrast, Eastern cultures have a WAY different attitude towards AI. As UN AI Advisor Neil Sahota points out, "In Eastern culture, movies, and books, they've always seen AI and robots as helpers and assistants, as a tool to be used to further the benefit of humans."   This positive outlook on AI has allowed countries like Japan, South Korea, and China to forge ahead with AI development, including in areas like healthcare, where AI is being used to improve the quality of services.   The West's fear of AI is not only shaping public opinion but also influencing policy decisions and regulatory frameworks. The European Union, for example, recently introduced AI legislation prioritizing heavy-handed protection over supporting innovation.   While such measures might be well-intentioned, they risk stifling AI development and innovation, making it harder for Western companies and researchers to compete.   Among the nations leading common-sense AI regulation, one stands out for now: Singapore.” – Chris C Profits from free accurate cryptos signals: https://www.predictmag.com/ 
    • $NFLX Netflix stock hold at 556.59 support or breakdown?  https://stockconsultant.com/?NFLX
×
×
  • Create New...

Important Information

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