Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Updated May 7, 2015
Top Posters
looks_one
bomberone1
with 9 posts (0 thanks)
looks_two
Fat Tails
with 5 posts (12 thanks)
looks_3
courier12
with 3 posts (0 thanks)
looks_4
Big Mike
with 2 posts (1 thanks)
Best Posters
looks_one
Fat Tails
with 2.4 thanks per post
looks_two
treydog999
with 1 thanks per post
looks_3
Big Mike
with 0.5 thanks per post
looks_4
NickA
with 0.5 thanks per post
trending_up
32,645 views
thumb_up
15 thanks given
group
11 followers
forum
27 posts
attach_file
0 attachments
October 22nd, 2011, 06:08 AM
Berlin, Europe
Market Wizard
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,889 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,107
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
April 23rd, 2012, 06:49 AM
it
Experience: Advanced
Platform: mc
Posts: 32 since Jun 2010
Thanks Given: 59
Thanks Received: 3
gm to everyone. i try vwap indicator for multicharts . daily weekly and mountly. i am elite member, is available? i dont try
January 29th, 2013, 10:48 AM
Orlando, FL
Experience: Intermediate
Platform: OEC
Broker: VanKar/OEC
Trading: 6E
Posts: 11 since Dec 2011
Thanks Given: 44
Thanks Received: 11
Can someone help me modify the following EL code to make the start time for this VWAP indicator an input instead of hard coded? Thanks in advance!
vars: vwap(0),
pv(0),
Totalvolume(0),
Barfromstart(0),
Squareddeviations(0),
Probabilityweighteddeviations(0),
deviationsum(0),
standarddeviation(0),
OncePerDay(0);
If date > date[1] then OncePerDay = 0 ;
If Time >= 200 and OncePerDay = 0 then begin
OncePerDay = 1 ;
Barfromstart=0;
pv=AvgPrice*volume;
Totalvolume=volume;
vwap=pv/totalvolume;
end
else
begin
Barfromstart=Barfromstart[1]+1;
pv=pv[1] + AvgPrice*Volume;
Totalvolume=Totalvolume[1] + Volume;
vwap=pv/Totalvolume;
end;
deviationsum=0;
for value1= 0 to Barfromstart
begin
Squareddeviations=Square( vwap-avgprice[value1]);
Probabilityweighteddeviations=volume[value1]*Squareddeviations/Totalvolume;
deviationsum=deviationsum +Probabilityweighteddeviations;
end;
standarddeviation=SquareRoot(deviationsum);
Plot1(vwap);
Plot2(vwap+standarddeviation);
Plot3(vwap+2*standarddeviation);
Plot4(vwap-standarddeviation);
Plot5(vwap-2*standarddeviation);
March 30th, 2013, 12:59 AM
seoul, Korea
Experience: Intermediate
Platform: Multicharts
Broker: CQG, DTN IQfeed
Trading: YM 6E
Posts: 897 since Jul 2012
Thanks Given: 291
Thanks Received: 1,039
MilesT
Can someone help me modify the following EL code to make the start time for this
VWAP indicator an input instead of hard coded? Thanks in advance!
vars: vwap(0),
pv(0),
Totalvolume(0),
Barfromstart(0),
Squareddeviations(0),
Probabilityweighteddeviations(0),
deviationsum(0),
standarddeviation(0),
OncePerDay(0);
If date > date[1] then OncePerDay = 0 ;
If Time >= 200 and OncePerDay = 0 then begin
OncePerDay = 1 ;
Barfromstart=0;
pv=AvgPrice*volume;
Totalvolume=volume;
vwap=pv/totalvolume;
end
else
begin
Barfromstart=Barfromstart[1]+1;
pv=pv[1] + AvgPrice*Volume;
Totalvolume=Totalvolume[1] + Volume;
vwap=pv/Totalvolume;
end;
deviationsum=0;
for value1= 0 to Barfromstart
begin
Squareddeviations=Square( vwap-avgprice[value1]);
Probabilityweighteddeviations=volume[value1]*Squareddeviations/Totalvolume;
deviationsum=deviationsum +Probabilityweighteddeviations;
end;
standarddeviation=SquareRoot(deviationsum);
Plot1(vwap);
Plot2(vwap+standarddeviation);
Plot3(vwap+2*standarddeviation);
Plot4(vwap-standarddeviation);
Plot5(vwap-2*standarddeviation);
Now you can change the time variable TimeReset;
Code
input:TimeReset(1515);
vars: vwap(0),
pv(0),
Totalvolume(0),
Barfromstart(0),
Squareddeviations(0),
Probabilityweighteddeviations(0),
deviationsum(0),
standarddeviation(0),
OncePerDay(0);
If date > date[1] then OncePerDay = 0 ;
If Time >= TimeReset and OncePerDay = 0 then begin
OncePerDay = 1 ;
Barfromstart=0;
pv=AvgPrice*volume;
Totalvolume=volume;
vwap=pv/totalvolume;
end
else
begin
Barfromstart=Barfromstart[1]+1;
pv=pv[1] + AvgPrice*Volume;
Totalvolume=Totalvolume[1] + Volume;
vwap=pv/Totalvolume;
end;
deviationsum=0;
for value1= 0 to Barfromstart
begin
Squareddeviations=Square( vwap-avgprice[value1]);
Probabilityweighteddeviations=volume[value1]*Squareddeviations/Totalvolume;
deviationsum=deviationsum +Probabilityweighteddeviations;
end;
standarddeviation=SquareRoot(deviationsum);
Plot1(vwap);
Plot2(vwap+standarddeviation);
Plot3(vwap+2*standarddeviation);
Plot4(vwap-standarddeviation);
Plot5(vwap-2*standarddeviation);
January 13th, 2015, 01:41 AM
Mumbai India
Experience: None
Platform: TradeStation
Trading: Forex
Posts: 39 since Nov 2014
Thanks Given: 58
Thanks Received: 10
Hi @Fat Tails or anyone:
Has anyone coded the TWAP indicator in ThinkorSwim ? TOS has a built in VWAP but not TWAP.
Any help would be great!
Thank you,
January 15th, 2015, 12:59 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,670 since Jun 2009
Thanks Given: 33,403
Thanks Received: 102,198
courier12
Hi @
Fat Tails or anyone:
Has anyone coded the TWAP indicator in
ThinkorSwim ?
TOS has a built in
VWAP but not TWAP.
Any help would be great!
Thank you,
You are doing it wrong...
@Fat Tails programs in NinjaTrader , not ThinkOrSwim.
You are posting in an EasyLanguage thread, not ThinkOrSwim.
Best to create a new thread in the proper ThinkOrSwim sub-forum asking for someone to code a TWAP.
Mike
January 15th, 2015, 01:45 PM
Mumbai India
Experience: None
Platform: TradeStation
Trading: Forex
Posts: 39 since Nov 2014
Thanks Given: 58
Thanks Received: 10
Big Mike
You are doing it wrong...
@
Fat Tails programs in
NinjaTrader , not
ThinkOrSwim .
You are posting in an
EasyLanguage thread, not ThinkOrSwim.
Best to create a new thread in the proper ThinkOrSwim sub-forum asking for someone to code a TWAP.
Mike
Thank you @Big Mike . Just posted the question in the Thinkscript thread.
May 7th, 2015, 09:26 AM
Mumbai India
Experience: None
Platform: TradeStation
Trading: Forex
Posts: 39 since Nov 2014
Thanks Given: 58
Thanks Received: 10
Hi:
does anyone have the Easy Language code for Yearly VWAP and SD bands for Tradestation?
Thank you,
Last Updated on May 7, 2015