Made an indicator.
Does not work. Apparently nothing is being calculated.
Put in Print("HELLO?!?!?!?") statements and other obnoxious print messages inside OnBarUpdate().
Only the Print statements above my logic get triggered but only 2-3 times, according to output window.
Questions:
1) Why are my print statements only being triggered 2-3 times?
2) Why are none of my other print statements being triggered?
Code example:
protected override void OnBarUpdate()
{
Print("I will slay a goat if this fails");
if(Close[0]<High[1])
{
A = Close[0];
}
else
{
A = High[1];
}
Print("Is the goat alive or will I need to feed it to a shark and punish a thousand generations?");
C = (add and subtract stuffs);
Plot.Set(C);
Print("The land seal needs to be slayed, and its innards eaten to appease my computer's internal clock's battery");
}
Any idea why my output shows "I will slay a goat if this fails" a few times, then nothing, and why my indicator is blank?
Regards,
Dane
Comment