Hi All
I note it is now possible to color chart background……is this correct?
Could someone give a simple example of how to:-
If close > MovAvge then
Color Backgrount Light Blue
If close < MovAvge then
Color Backgrount Light Red
Are there any sites/forums that might have other examples of coloring Chart Backgrounds that can be studied
Thanks
Milton
Coloring Chart Background
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Hi TJ
Would you mind showing me how this could be done,that is:-
.........however, you can underlay a thick paintbar under the price bar.
.........This will highlight the bar with different background color.
Ultimately the aim is to do two things:
1. Plot a verticle line (Blue)when price > Mov avge and Plot a verticle line (Red)when price < Mov avge
2. When verticle line is plotted,then continue color background same color as the verticle line
I know MC plots verticle lines but I dont know how to get started
Regards
Milton
Would you mind showing me how this could be done,that is:-
.........however, you can underlay a thick paintbar under the price bar.
.........This will highlight the bar with different background color.
Ultimately the aim is to do two things:
1. Plot a verticle line (Blue)when price > Mov avge and Plot a verticle line (Red)when price < Mov avge
2. When verticle line is plotted,then continue color background same color as the verticle line
I know MC plots verticle lines but I dont know how to get started
Regards
Milton
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
The easiest way to start is to use a study included in the MultiCharts program.Hi TJ
Would you mind showing me how this could be done,that is:-
.........however, you can underlay a thick paintbar under the price bar.
.........This will highlight the bar with different background color.
Ultimately the aim is to do two things:
1. Plot a verticle line (Blue)when price > Mov avge and Plot a verticle line (Red)when price < Mov avge
2. When verticle line is plotted,then continue color background same color as the verticle line
I know MC plots verticle lines but I dont know how to get started
Regards
Milton
You can add "Moving Average with Envelop" to your chart.
then go to format study,
change the Plots:
-- UpperBand to Bar High and LowerBand to Bar Low.
-- Weight to the thickest line
You will see the plot covering your price bar. Don't worry... right click on the study... choose "Visual Order", select "Send to back".
if you don't like the color, you can change it on the Format Study window:
try this on the Upcol and Dncol option in the Input section of the Format Study window:
for pink color, type in the following code: rgb(225,175,160)
for apple green color, type in the following code: rgb(170,225,125)
you can see the attached for a visual effect.
hope the above helps.
If you need more customization, you can open the script using the PowerEditor and try some modifications right in the code. It is not that difficult. Give it a try, a whole new world is waiting for you to discover.
- Attachments
-
- MA.jpg
- (130.91 KiB) Downloaded 664 times
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
There are 2 indicators that might be of interest to you.
Price < Avg
Price > Avg
after you have added them to your chart, you can:
1. bring the price bar to the front,
2. format the indicator bars to thickest line
I have attached a screen shot for your reference.
Price < Avg
Price > Avg
after you have added them to your chart, you can:
1. bring the price bar to the front,
2. format the indicator bars to thickest line
I have attached a screen shot for your reference.
- Attachments
-
- pa.jpg
- (114 KiB) Downloaded 659 times