I came across a potential issue when using BACKGROUNDCOLOR in that it doesn’t behave as I believe it should. I wanted to know if this intended behavior or a known issue.
I have included some sample code to show the problem. If VerticalLines (in the code below/attachment) is set as a configurable variable on this indicator, it does not remove the BACKGROUNDCOLOR by toggling it on/off, whereas toggling DRAWARROW does.
Thanks
Rob
BACKGROUNDCOLOR issue?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
DEFPARAMDRAWONLASTBARONLY=False
// VerticalLines is a boolean, true or false toggle option as a variable for the indicator setting
// Arrows is a boolean, true or false toggle option as a variable for the indicator setting
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue