Hello
this photo is the result of these lines of code in an indicator
State.SetDefaults)
AddPlot(Brushes.Red, "OpenPlot");
AddPlot(Brushes.Orange, "ClosePlot");
OnBarUpdate()
//OpenPlot[0]=Open[0]; // error in this line
//ClosePlot[0]=Close[0]; // error in this line why not work?
Values[0][0]=Open[0];
Values[1][0]=Close[0];
Unfortunately I cant create an alert when there is a crossing
this line give me all chart red!
if ( (CrossAbove( Open,Close,0))) -> Can you help me= Brushes.Red;
So i want a alert when there is across betwwen these two lines
Can you help me Can you help me
Thanks

Comment