stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

change chart background color....
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3476
Page 1 of 1
Author:  thomasmore [ Tue Mar 04, 2014 2:30 pm ]
Post subject:  change chart background color....

By that I mean: if the the trade is in profit: color the BG green, if in loss, color red. User inputs: ColorIn Profit, ColorInLoss.
Can someone find/code this?
Best regards,
Ludo
Author:  milanese [ Tue Mar 04, 2014 3:31 pm ]
Post subject:  change chart background color....

ludowillems » Tue Mar 04, 2014 2:30 pm wrote:By that I mean: if the the trade is in profit: color the BG green, if in loss, color red. User inputs: ColorIn Profit, ColorInLoss.
Can someone find/code this?
Best regards,
Ludo
Hi Ludo,

here you go, it is an indicator(will only work with the new 6xx builds..)
ProfitColour_6xx.mq4
Cheers :)

Tommaso
Author:  milanese [ Tue Mar 04, 2014 4:05 pm ]
Post subject:  change chart background color....

milanese » Tue Mar 04, 2014 3:31 pm wrote:
ludowillems » Tue Mar 04, 2014 2:30 pm wrote:By that I mean: if the the trade is in profit: color the BG green, if in loss, color red. User inputs: ColorIn Profit, ColorInLoss.
Can someone find/code this?
Best regards,
Ludo
Hi Ludo,

here you go, it is an indicator(will only work with the new 6xx builds..)

Cheers :)

Tommaso
and a version you can select if you want all equity profit used for color change or only the profit of the pair you attach the indicator, use OnlyThisPair=true; if you set it to false it shows all equity color.. I made this after re-reading your post as I think it will do what you asked for..

Cheers :)
ProfitColourA_6xx.mq4
Tommaso
Author:  thomasmore [ Tue Mar 04, 2014 4:07 pm ]
Post subject:  change chart background color....

Grazie!
All times are UTC Page 1 of 1