I am trying but the value is always the first declared.
Indicator example code:
//Indicator var declaration
public int myvar=0;
....
//Indicator update
protected override void OnBarUpdate(){
myvar=x;
...
/Strategy update
protected override void OnBarUpdate(){
//Print indicator var
print(MyIndicator().myvar);
...
How can i take the updated value?
Thank you very much for help.
Mary

Comment