I want to make an indicator
If the condition H[2]<H[1]<H is fulfilled then
Change the three included bar to orange?
is it possible?
How to make an indicator that can change bar Color? [SOLVED]
-
- Posts: 61
- Joined: 25 Jul 2013
- Has thanked: 18 times
Re: How to make an indicator that can change bar Color?
To change a single bar color:
If I recall, this feature is only available using MC.net
You may put a request on the Project Manager
https://www.multicharts.com/pm/
Martin
If I recall, this feature is only available using MC.net
You may put a request on the Project Manager
https://www.multicharts.com/pm/
Martin
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: How to make an indicator that can change bar Color? [SOLVED]
Yes it is possible. You just have to use PLOT to paint over the bars with whatever color you want.I want to make an indicator
If the condition H[2]<H[1]<H is fulfilled then
Change the three included bar to orange?
is it possible?
Or, if you are already using PLOT, you can use SETPLOTCOLOR to modify the colors.
Re: How to make an indicator that can change bar Color?
TJ,Yes it is possible. You just have to use PLOT to paint over the bars with whatever color you want.I want to make an indicator
If the condition H[2]<H[1]<H is fulfilled then
Change the three included bar to orange?
is it possible?
Or, if you are already using PLOT, you can use SETPLOTCOLOR to modify the colors.
Thanks for the clarification.
I had tried before and never succeed.
Martin
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: How to make an indicator that can change bar Color?
Martin: For the mere price of a pastrami sandwich, I can make any bar change to any color for you.TJ,Yes it is possible. You just have to use PLOT to paint over the bars with whatever color you want.
Or, if you are already using PLOT, you can use SETPLOTCOLOR to modify the colors.
Thanks for the clarification.
I had tried before and never succeed.
Martin
>
Re: How to make an indicator that can change bar Color?
Hi,
sometimes reading forum posts, and the answers I get this thought:
Probably a few lines of code would be most helpful as a response,
to teach something to all users of the forum.
Regards
Massimo
sometimes reading forum posts, and the answers I get this thought:
Probably a few lines of code would be most helpful as a response,
to teach something to all users of the forum.
Regards
Massimo
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: How to make an indicator that can change bar Color?
I usually gear my response to the question asked.Hi,
sometimes reading forum posts, and the answers I get this thought:
Probably a few lines of code would be most helpful as a response,
to teach something to all users of the forum.
Regards
Massimo
I don't guess, assume, or extrapolate.
If it were a general question, I would give a general answer.
If it were a specific question, I would give a specific answer.
If it were a coding question (ie with a snippet), I would give a coding answer.
If it were a discussion question, I'd usually stay away.
Re: How to make an indicator that can change bar Color?
Probably the right thing is to use the PlotPaintBar keyword.
Try this code:
Massimo
Try this code:
Code: Select all
if time>1000 and time<1100 then begin
PlotPaintBar(High,Low,Open,Close,"",Red);
end;