79439098

Date: 2025-02-14 10:49:45
Score: 1
Natty:
Report link

Bars is a built in function in mql5 that returns an integer. So you should use Bars() for instance you could use:

if( Bars(_Symbol,PERIOD_CURRENT) < 3 )

if you want to define a variable with its name you could define it by lower case for instance :

int bars ;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahdi Ahmadifard