MAVOL trading volume average / Volume Moving Average

Solution
MAVOL trading volume average
https://support.futunn.com/en/topic147/h5/?lang=en-us&from_platform=1&platform_langArea=en

Volume Moving Average
https://www.barchart.com/education/technical-indicators/volume_moving_average

Anyone know this indicator? MA for the volume? I’m not sure what it called. The indicator looks like in the photo, the MAVOL5 will cross with the MAVOL10 (circle in blue)

circle in Blue- MAVOL

Code:
declare Lower;
input Length1 = 5;
input Length2 = 10;
Plot VolA1= Average(Volume,Length1);
Plot VolA2= Average(Volume,Length2);
VolA1.SetPaintingStrategy(PaintingStrategy.LINE);
VolA2.SetPaintingStrategy(PaintingStrategy.LINE);
Vola1.setDefaultColor(Color.DARK_GREEN)...
MAVOL trading volume average
https://support.futunn.com/en/topic147/h5/?lang=en-us&from_platform=1&platform_langArea=en

Volume Moving Average
https://www.barchart.com/education/technical-indicators/volume_moving_average

Anyone know this indicator? MA for the volume? I’m not sure what it called. The indicator looks like in the photo, the MAVOL5 will cross with the MAVOL10 (circle in blue)

circle in Blue- MAVOL

Code:
declare Lower;
input Length1 = 5;
input Length2 = 10;
Plot VolA1= Average(Volume,Length1);
Plot VolA2= Average(Volume,Length2);
VolA1.SetPaintingStrategy(PaintingStrategy.LINE);
VolA2.SetPaintingStrategy(PaintingStrategy.LINE);
Vola1.setDefaultColor(Color.DARK_GREEN);
Vola2.setDefaultColor(Color.DARK_Red);
VolA1.SetLineWeight(3);
VolA2.SetLineWeight(3);
AddCloud(VolA1,VolA2,Color.Dark_Green,Color.Dark_Red);
Plot Vol = Volume;
Vol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Vol.AssignValueColor(if Vol >= Vol[1] then Color.UPTICK else Color.DOWNTICK);
 
Solution
Code:
declare Lower;
input Length1 = 5;
input Length2 = 10;
Plot VolA1= Average(Volume,Length1);
Plot VolA2= Average(Volume,Length2);
VolA1.SetPaintingStrategy(PaintingStrategy.LINE);
VolA2.SetPaintingStrategy(PaintingStrategy.LINE);
Vola1.setDefaultColor(Color.DARK_GREEN);
Vola2.setDefaultColor(Color.DARK_Red);
VolA1.SetLineWeight(3);
VolA2.SetLineWeight(3);
AddCloud(VolA1,VolA2,Color.Dark_Green,Color.Dark_Red);
Plot Vol = Volume;
Vol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Vol.AssignValueColor(if Vol >= Vol[1] then Color.UPTICK else Color.DOWNTICK);
Thank you, can you edit the code to VOLMA 5/10/13/34 , please
 
Thank you, can you edit the code to VOLMA 5/10/13/34 , please
I can add as many lines as you want, but after looking at the indicator, with a Histogram and all, It becomes a pile of garbage! and becomes too confusing. as far as the code goes you should be able to create this on your own. I gave you the building blocks just add to it But here is the code you requested
Code:
declare Lower;
input Length1 = 5;
input Length2 = 10;
input Length3 = 13;
input Length4 = 34;
Plot VolA1= Average(Volume,Length1);
Plot VolA2= Average(Volume,Length2);
Plot VolA3= Average(Volume,Length3);
Plot VolA4= Average(Volume,Length4);
VolA1.SetPaintingStrategy(PaintingStrategy.LINE);
VolA2.SetPaintingStrategy(PaintingStrategy.LINE);
VolA3.SetPaintingStrategy(PaintingStrategy.LINE);
VolA4.SetPaintingStrategy(PaintingStrategy.LINE);
Vola1.setDefaultColor(Color.DARK_GREEN);
Vola2.setDefaultColor(Color.DARK_Red);
Vola3.setDefaultColor(Color.Cyan);
Vola4.setDefaultColor(Color.Magenta);
VolA1.SetLineWeight(3);
VolA2.SetLineWeight(3);
VolA3.SetLineWeight(3);
VolA4.SetLineWeight(3);
AddCloud(VolA1,VolA2,Color.Dark_Green,Color.Dark_Red);
AddCloud(VolA3,VolA4,Color.Cyan,Color.Magenta);
Plot Vol = Volume;
Vol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Vol.AssignValueColor(if Vol >= Vol[1] then Color.UPTICK else Color.DOWNTICK);

Now compare the 2 codes and you can see how to build an indicator!
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
367 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top