undeclared identifier
-
i want change accurate mode to beast mode in my expert but show undeclared identifier

-
This is because trend mode is an enum. In enumerations, it will be something like:
enum Trend Mode
{accurate mode,xxx,xxx,xxx);Replace xxx with the words for each type in the indicator input, and replace the data type int with enum
-
can u explain step by step please ?
-
If you get stuck more I will start by adding the names from your indicator inputs, add this to the enumerations at the top, and then add another screenshot to show what you've done
-
-
That look ok but change ) to } is it working?
-
itsnot workung
-
Show what you've changed, and say what it's doing
-
@jstap

this is ok? -
-
Don't add mq4 add a shared link, is this working now? It looks correct.
-

-
-
Well done for the shared link, but is it working is most important?
-
How can I close 50% of the trade volume when my trade reaches 1/3 of my desired profit?
-
Move the pink tree out so it's separate from the buy/sell trees, anything under no trade will stop working when a trade is placed.
-
@aghilsr78
You can probably try using 0 and 1 as input.Does the original input consists of two separate words ? They seems not the options of any enum type.
Moreover, your enumerated type should be used as data type rather as variable name.
-
@sktsec said in undeclared identifier:
Moreover, your enumerated type should be used as data type rather as variable name
Can you explain more
-
@aghilsr78 please help me for indicator input and enum
