Hi there
I am trying to write something and I am being frustrated.
So I am trying to see at all time what the bid price is that my EA has it at and to display it on the screen.
I have used the following line to show it in the alert window
While(true)
{
Price_1 = Bid;
Alert("What is price now: ",Price_1);
Alert("What is bid now: ",Bid);
sleep (1000);
}
but all I get is the first bid price when I start the script, and then the price does not change even though on the chart the price moves up and down.
Can someone help with this please...
I am trying to write something and I am being frustrated.
So I am trying to see at all time what the bid price is that my EA has it at and to display it on the screen.
I have used the following line to show it in the alert window
While(true)
{
Price_1 = Bid;
Alert("What is price now: ",Price_1);
Alert("What is bid now: ",Bid);
sleep (1000);
}
but all I get is the first bid price when I start the script, and then the price does not change even though on the chart the price moves up and down.
Can someone help with this please...
Live happens 5 minutes at a time...