The first example would plot the volume profile for each year.
If you want to plot the volume profile for each day in a 1-min chart then type:
PlotProfile("volume",day() != ref(day(), 1),60,20,colorblue,colorblack,OperationSum);
If i wanna plot a volume profile in a 1-min chart, showing the sum of volume at price for the past 1000 minutes (bars), what should i type?
(i dont wanna have a volume profile for each day, i wish to have a volume profile as a sum of the past 1000 bars in a 1-min chart)
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.