i need a code to compare the bid price and the openning price....plzzz and how can i get to se the bid and open price on the screen,
Yeah,,,iam trying to compare bid price and open price ...and comment something on the chart window...
Comment(DoubleToString(Bid - Open[0], _Digits));
The problem is that you have parentheses opening or closing in an unexpected place.I also have a code here but when i try to combile iam getting this error,,,
"}"-unexpected end of program
"{"-unbalanced parantheses
2 errors ,0 warnings
i cant find this errors ,,,,whats the solutions to this...
soo how can i get to solve this error,,,iam not finding itThe problem is that you have parentheses opening or closing in an unexpected place.
There is no secret method to find such errors - you just have to analyze your code and find it.soo how can i get to solve this error,,,iam not finding it
ok let me still try to find itThere is no secret method to find such errors - you just have to analyze your code and find it.
If you are asking how to get the opening price using a function, then yes,how can i defne openning price using a function
iopen ??
iOpen
is the answer.Open [0]; double openning_price ; openning_price = Open [0]; string openning_message = "The openning price is :"; Comment ("openning_message,openning_price");