working on object name and execute trades
-
Hello guys,
Once again im posting.
I was able to get the object name to appear in the comment. Now i wanted it to execute buy/sell.
Can somebody check the condition if it is correct?
Here is the comment i was able to call the object:

Label and Description:

Thank you guys

Here is the link on the project:
https://fxdreema.com/shared/kgd0cPPfb -
Is the text appearing in your comment, the same as your condition?
-
@jstap i was able to make it work using this:
StringToDouble(ObjectGetString(0, "LBL_3210", OBJPROP_TEXT)) > scoreThresholdthank you.
-
@jstap by the way, is there a way I can store the previous scores? Lets say I want to store and save the score every 6 hours and put in comment for the past 10 days?
-
yes, once per hour - modify the variable to the value you want (in a separate tree).
-
@jstap that should be 40 variables if I want to store each, right?
-
That depends on assets in your brokers market watch. I doubt you need that amount saved.