Click here to Login





                                                   Reg. market profile plot

  0

0
GS
2021-08-15 12:09:42


My question:

I was referring to your following blog:

https://www.quantshare.com/sa-647-quantshare-trading-software-new-features-in-the-370-version

and was trying to plot market profile, but getting confused with the process. Using QS language it was done, but using C#, there is a function:

MarketProfile_Vol()

how do I use it?

QS Response ===============

Hi Ghanshyam,
%u200B
You cannot access this function directly. You need to compile QS code within C#
Something like this:
VectorD res = cFunctions.CompileFormula("a = function();").GetVectorDouble("a");

=======================

My question:

OK, so in this
function() is MarketProfile_Vol()

I am still confused as your blog needs some more details so that we can actually make use of it. It is a very good functionality of QS but some more clarity is required. I would appreciate it if you could help in this regard.

And in the case of the real-time version, in place of TA.Month(), do we need some other time frame?

Thanks

Waiting for the response...........



Markus Neubauer
2021-08-20 19:13:14

  0

Best Answer
Right click on a chart -> Edit formula -> Copy&Paste e.g. following:

PlotProfile("volume", 0, 1, 100, colorRed, colorRed, OperationSum);

Click "Update graph"

OR Intraday:
PlotProfile("volume", day() != ref(day(), 1), 60, 20, colorRed, colorRed, OperationSum);
maybe
PlotProfile("volume", day() != ref(day(), 1), 1, 10, colorRed, colorRed, OperationSum);

OR I prefer this in long term charts:
PlotProfile("volume", month() != ref(month(), 1), 1, 10, colorGreen, colorGreen, OperationAvg);




GS
2021-08-22 09:16:51

  0

Thanks a lot Markus for your apt reply, it works, I just changed from volume to close and got what I was looking for.

Best regards



GS
2021-08-24 21:38:52

  0

As a follow-up to my above response, for Intraday charts I had to use "close" instead of "volume" because it was plotting just one bar and therefore it was not serving the purpose. Therefore, I would say that for me it is working on "End of the Day (EoD)" version of QS, but on Intraday it is not working if I use the following command:

PlotProfile("volume", week() != ref(week(), 1), 60, 20, colorRed, colorRed, OperationSum);

or

PlotProfile("volume", day() != ref(day(), 1), 60, 20, colorRed, colorRed, OperationSum);

Looking forward to seeing a more specific response for the real-time version of QS.




GS
2021-09-02 21:31:07

  0

There was a problem with volume data coming from Yahoo, when I switched over to Interactive Brokers, it is showing as expected for real-time version of QS.


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Market Cap Historical Data for the US Stock Market
Muscat Security Market symbols
Plot Economic Indicators on a Chart
Gap Up/Down Market Breadh Indicator
Historical Stock Market News

How-to Lessons
How to plot news on a chart?
How to plot arrows below/above candlesticks on a chart
How to plot the relative performance of several stocks/indices
How to plot the number of stock tweets per day
How to add future bars to plan for market scenarios

Related Forum Threads
About Market Profile
Calculate POC, VAH and VAL from market profile
plot values on future bars
Plot differnt line style when RSI above or below 80/20 lines
i cant see market data for current time

Blog Posts
Profile Graphs
Introduction to sentiment analysis applied to the stock market
Fundamental analysis: How to track economic indicators in the For...
How to predict and trade the stock market using pivot points
Fundamental Screen based on Stock price, ROI and Market capitaliz...









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.