No i would like to write a second one, based on the first.
The code below works fine and the Line of the orig is drawn.
My Problem: I need the Value of the previous Bar but
[FONT=Courier New] [COLOR=#0000ff]double[/COLOR][FONT=Courier New][SIZE=2] val = [/SIZE][/FONT]MyCustomIndi(var)[[SIZE=2][COLOR=#800080]1[/COLOR][/SIZE][SIZE=2]];[/SIZE][/FONT]
Anybody knows about the problem?
Thx in advance
Chris
[FONT=Courier New][SIZE=2]
[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]protected[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]override[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] OnBarUpdate()
{
[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff] double[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] val = MyCustomIndi(var)[[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080]0[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]];
[/SIZE][/FONT][FONT=Courier New][SIZE=2] Line.Set(val);
[/SIZE][/FONT][FONT=Courier New][COLOR=#008000][/COLOR][/FONT][FONT=Courier New][SIZE=2][COLOR=#008000]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]}
[/SIZE][/FONT]

Comment