Centaur wrote: Tue Dec 06, 2022 4:40 am For more than one statement in an if statement you need to use parenthesis:
if(Buy_Signal != EMPTY_VALUE)
{
SendNotification("Buy Signal Triggered!");
Alert...
}
Buy_Signal [ i ] != EMPTY_VALUE
I have to choose [ i ] option because , if I choose Buy_Signal !=EMPTY_VALUE , I take error' Buy_Signal' - invalid array access..
And the other problem on screeshot