Rectangle object colour

 

is there any way to colour a rectangle diff colours so top half is diff to bottom, or join two together. i'd like to use a two colour rectangle to better guage when a stop or profit is hit in a manual backtest. thanks.

 

Rectangles

trevman:
is there any way to colour a rectangle diff colours so top half is diff to bottom, or join two together. i'd like to use a two colour rectangle to better guage when a stop or profit is hit in a manual backtest. thanks.

Have a look at the code in these 2 indicators, both have multi rectangles and they may give you ideas on how to code what you want, Good luck.

cja

t_s_r_signal_alert_alarm_7.mq4

mtf_hi_low.mq4

Files:
 

Petor

cja:
Have a look at the code in these 2 indicators, both have multi rectangles and they may give you ideas on how to code what you want, Good luck.

cja

t_s_r_signal_alert_alarm_7.mq4

mtf_hi_low.mq4

Beautiful Take-Profits System! Thank You very much, CJA! Thank You!

Reason: