My question is if its possible to pass any values to different time frames
For example,
if (BarsInProgress == 1 )
variable1 = Swing(5).SwingHigh[0];
if (BarsInProgress ==2)
Print (variable1.ToString)
I keep getting an error when I try to do this. I understand that if I use barsarray I will have no problem but for some reason when I use barsarray my values are a little messed up. It would be easier if I could pass values from one barsinprogress to the next, but obviously I dont think this is possible since I am getting errors all the time
Any ideas?
Comment