How can one have a bullish(green box extending from say one period to another) based on a formula say "Macd crosses below" zero(this is an example)and a bearish phase (red/hatched lines whatever) likewise when the condition is oppsite
Also at the same time the dates should show through the green /Red /Pink boxes on the x axis
Wonderful....worked in a new pane..(did not in an existing pane having an existing chart) can i make it hatched and appear on the x axis to save real estate
- To use it in a chart with other indicators just add the "StyleOwnScale" style:
plot(a, "", colorGreen|50|colorGreen|50|90, ChartStep, StyleOwnScale);
- Both suggestions (full pane and hatched) will be available in the next release.
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.