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)
I trade the ES using several different tick charts. I am hoping to find (or have created) and indicator that will show me the average trade size for each tick bar. To be more clear, most of my trades are taken from price action on a 3500Tick chart. Is there an indicator available that will show me average trade size of the 3500 trades that make up that bar?
I have no programming skills whatsoever so I dont even know if such a thing is possible. It seem that it would be since I have true Time and Sales data using Kinetick+NT.
Thank you for any insight you may be able to provide.
Cheers.
Can you help answer these questions from other members on NexusFi?
The average trade size for a 3,500 tick bar would be the total volume of the bar divided by 3,500. The 3,500 does not change from one bar to the next, so it is sufficient, if you put just a volume indicator on your tick chart.
If you want, you can also modify the volume indicator by dividing the total volume by the number of Ticks, just change the code of the volume indicator from
to
save under a new name and compile via F5. It should now display the average volume per tick. Not tested.
Below is the volume indicator in Ninja 8. Where would you insert
(If you want, you can also modify the volume indicator by dividing the total volume by the number of Ticks, just change the code of the volume indicator from
Code
Value.Set(Volume[0]);
to
Code
Value Set(Volume[0]/BarsPeriod.Value)
public class VOL : Indicator
{
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Description = Custom.Resource.NinjaScriptIndicatorDescriptionVOL;
Name = Custom.Resource.NinjaScriptIndicatorNameVOL;
BarsRequiredToPlot = 0;
Calculate = Calculate.OnEachTick;
DrawOnPricePanel = false;
IsSuspendedWhileInactive = true;