Hello again,
I found the problem now. This works
if (iClose(symbol_name,TIME_FRAME,0)<iOpen(symbol_name,TIME_FRAME,0)) {button_color=BEARISH;} else {button_color=BULLISH;}

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone,
I was asked by a friend of mine to attempt a code to show similarities with matching pairs. I found a code online which sort of did it, but after I modified the code isn't working correctly. I tried to track it down again, but I was not successful in finding the code again.
Q: How to correct the code to update only the changes to close/ open prices of the pairs not to all pairs?