Acceleration Bands - TradeStation | futures io social day trading
futures io futures trading


Acceleration Bands
Updated: Views / Replies:669 / 13
Created: by TradeTheLevel Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 4  
 
Thread Tools Search this Thread
 

Acceleration Bands

  #1 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Intermediate
Platform: Motivewave,TS,Tradingview
Broker/Data: IQFeed, Oanda, TradeStation
Favorite Futures: Currency
 
TradeTheLevel's Avatar
 
Posts: 379 since May 2017
Thanks: 178 given, 577 received

Acceleration Bands

Coders,

Would any of y'all be able to make an acceleration bands indicator for tradestation? I have the code from tradingview which is pine script. Im not sure if it helps or not.

 
Code
study("Acceleration Bands", overlay=true)
factor= input(0.001)
length = input(20)
Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Central = (Upperband  + Lowerband) / 2

ma(src, len) => sma(src, len)

plot(ma(Upperband, length), color=red)
plot(ma(Central, length), color=orange)
plot(ma(Lowerband, length), color=red)

Reply With Quote
 
  #2 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,775 since Apr 2013
Thanks: 283 given, 1,061 received

TradeTheLevel,

you will be able to find a few studies in the official Tradestation forum, this should get you going.

Apart from that with making "factor and length" inputs and UpperBand, LowerBand and Central variables, the code
you posted won't require much of a change, except a semicolon at the end of every statement. Finally using the three variables as price input for the Average function will give you the three smoothed band values that you can then plot.

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Elite Member
Montreal
 
Futures Experience: Intermediate
Platform: MultiCharts
Broker/Data: IB Canada/IQFeed
Favorite Futures: TF, CL
 
Posts: 281 since Jul 2011
Thanks: 306 given, 355 received



TradeTheLevel View Post
Coders,

Would any of y'all be able to make an acceleration bands indicator for tradestation? I have the code from tradingview which is pine script. Im not sure if it helps or not.

 
Code
study("Acceleration Bands", overlay=true)
factor= input(0.001)
length = input(20)
Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Central = (Upperband  + Lowerband) / 2

ma(src, len) => sma(src, len)

plot(ma(Upperband, length), color=red)
plot(ma(Central, length), color=orange)
plot(ma(Lowerband, length), color=red)

I coded most of it but I'm not sure about this line:

ma(src, len) => sma(src, len)

Maybe @ABCTG can shed some light? As it's coded right now, it's almost exactly the same as Keltner bands with the same length but a 2.5 ATR. Compare it on a TradingView chart .

 
Code
Input: factor(0.001), length(20);

Vars: Upperband(0), Lowerband(0), Central(0);

Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Central = (Upperband  + Lowerband) / 2;

//ma(src, len) => sma(src, len)  NOT SURE WHAT THIS DOES

plot1(Average(Upperband, length));
plot2(Average(Central, length));
plot3(Average(Lowerband, length));


Last edited by olobay; January 16th, 2018 at 08:39 PM.
Reply With Quote
The following 2 users say Thank You to olobay for this post:
 
  #4 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Intermediate
Platform: Motivewave,TS,Tradingview
Broker/Data: IQFeed, Oanda, TradeStation
Favorite Futures: Currency
 
TradeTheLevel's Avatar
 
Posts: 379 since May 2017
Thanks: 178 given, 577 received


olobay View Post
I coded most of it but I'm not sure about this line:

ma(src, len) => sma(src, len)

Maybe @ABCTG can shed some light? As it's coded right now, it's almost exactly the same as Keltner bands with the same length but a 2.5 ATR. Compare it on a TradingView chart .

 
Code
Input: factor(0.001), length(20);

Vars: Upperband(0), Lowerband(0), Central(0);

Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Central = (Upperband  + Lowerband) / 2;

//ma(src, len) => sma(src, len)  NOT SURE WHAT THIS DOES

plot1(Average(Upperband, length));
plot2(Average(Central, length));
plot3(Average(Lowerband, length));

Thanks for doing this. I'll take a look when im able. From what I can tell online, the formula is all you need. Not sure what the extra like is. I have no idea how to code. But some things I can point out understand.

Sent using the futures.io mobile app

Reply With Quote
 
  #5 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,775 since Apr 2013
Thanks: 283 given, 1,061 received

olobay,

good job. The line you are not sure about appears to be a function declaration and it wouldn't be needed in EasyLanguage.

Regards,

ABCTG


olobay View Post
I coded most of it but I'm not sure about this line:

ma(src, len) => sma(src, len)

Maybe @ABCTG can shed some light? As it's coded right now, it's almost exactly the same as Keltner bands with the same length but a 2.5 ATR. Compare it on a TradingView chart .

 
Code
Input: factor(0.001), length(20);

Vars: Upperband(0), Lowerband(0), Central(0);

Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ));
Central = (Upperband  + Lowerband) / 2;

//ma(src, len) => sma(src, len)  NOT SURE WHAT THIS DOES

plot1(Average(Upperband, length));
plot2(Average(Central, length));
plot3(Average(Lowerband, length));


Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #6 (permalink)
Elite Member
Sanjose, CA
 
Futures Experience: Beginner
Platform: TradeStation
Favorite Futures: TF, YM
 
Posts: 22 since Dec 2009
Thanks: 56 given, 12 received


TradeTheLevel View Post
Coders,

Would any of y'all be able to make an acceleration bands indicator for tradestation? I have the code from tradingview which is pine script. Im not sure if it helps or not.

Here is my code which I wrote long time ago.


Quoting 
{Acceleration Bands:
Acceleration Bands are typically used to spot breakouts.
When a stock’s price closes above the upper band consecutively
over a period of two or more bars, the stock’s price may be in
a period of acceleration – that is, its price has made a significant
move over a short period of time. Movement of the close price back
into the band may be a sign that the period of acceleration is coming to an end.
Len_AB 20 to 80}

Input: Len_AB(20);
Vars: Upperband(0), Lowerband(0);

{For upper band}
Upperband = (H*(1+2*((((H-L)/((H+L)/2))*1000)*0.001)));
Plot1(AverageFC(Upperband, Len_AB), "UpBand");

{For lower band}
Lowerband = (L*(1-2*((((H-L)/((H+L)/2))*1000)*0.001)));
Plot2(AverageFC(Lowerband, Len_AB), "LoBand");

Hope it help! Good Trading.

MoL

Reply With Quote
The following user says Thank You to mailonline38 for this post:
 
  #7 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Intermediate
Platform: Motivewave,TS,Tradingview
Broker/Data: IQFeed, Oanda, TradeStation
Favorite Futures: Currency
 
TradeTheLevel's Avatar
 
Posts: 379 since May 2017
Thanks: 178 given, 577 received


TradeTheLevel View Post
Thanks for doing this. I'll take a look when im able. From what I can tell online, the formula is all you need. Not sure what the extra like is. I have no idea how to code. But some things I can point out understand.

Sent using the futures.io mobile app

Im pretty new at this. I copied the code in the easy language editor and clicked verify under build. I noticed the indicator showed up in the indicator list.
The indicator prints on the scree like an occilator "for example like how a rsi plots at the bottom of the screen". It should wrap price like bollinger bands do

Here is tradingview
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Here is TS
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #8 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Intermediate
Platform: Motivewave,TS,Tradingview
Broker/Data: IQFeed, Oanda, TradeStation
Favorite Futures: Currency
 
TradeTheLevel's Avatar
 
Posts: 379 since May 2017
Thanks: 178 given, 577 received


mailonline38 View Post
Here is my code which I wrote long time ago.



Hope it help! Good Trading.

MoL

Same thing with yours. How do I get the indicator to wrap around price and add like an oscillator. must be how I built it, or do I need to apply more code? Im very new tradestation so Im trying to learn here.

Reply With Quote
 
  #9 (permalink)
Market Wizard
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,346 since Aug 2011
Thanks: 1,123 given, 3,407 received
Forum Reputation: Legendary

TTL...

can you change the display in settings? Or just rip a tiny piece of code?

I am NOT a code guy...the antithesis actually, but I think this can be done pretty easy.

Reply With Quote
 
  #10 (permalink)
Elite Member
Montreal
 
Futures Experience: Intermediate
Platform: MultiCharts
Broker/Data: IB Canada/IQFeed
Favorite Futures: TF, CL
 
Posts: 281 since Jul 2011
Thanks: 306 given, 355 received


@TradeTheLevel,

I have Multicharts but I assume TS is the same.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


When I double click on the indicator on my chart, it opens up a format study window where you can change all the parameters.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


I'm sure TS has a similar feature. You need to go to the Properties tab and change it to Subchart 1:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Then you need to go to the Scaling tab and change it to Same as instrument:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


I recommend clicking on the Use as default button if you have one in TS to change the default so you don't have to do this every time you apply the indicator.

Reply With Quote
The following 2 users say Thank You to olobay for this post:

Reply



futures io > > > > Acceleration Bands

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri
 

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume and Acceleration coming in study jakejake Sierra Chart 7 February 15th, 2017 12:40 AM
Acceleration Bands DarrenH NinjaTrader 12 March 31st, 2016 06:20 AM
VWAP bands crazybears NinjaTrader 102 March 6th, 2012 04:33 PM
MACD ZeroLag w/Colors : Acceleration parameter emini_Holy_Grail NinjaTrader 7 September 10th, 2011 03:02 PM
Bollinger Bands MWinfrey Traders Hideout 8 February 8th, 2011 07:02 AM


All times are GMT -4. The time now is 01:52 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2018-09-17 in 0.19 seconds with 15 queries on phoenix