- When you find the latest one, stop the loop.
string name; for(int i =ObjectsTotal(0,0,OBJ_TEXT)-1;i>=0;i--){ name = ObjectName(0,i,0,OBJ_TEXT); if(StringFind(name,"Harami Cross")>-1) break; } double price = ObjectGetDouble(0,name,OBJPROP_PRICE); color clr = (color)ObjectGetInteger(0,name,OBJPROP_COLOR);
- GCR_lipe fe: but the ones that form in the current time,
Objects do not form. They are created by code (or human). Do you have code running, creating them?
William Roeder #:
- When you find the latest one, stop the loop.
-
Objects do not form. They are created by code (or human). Do you have code running, creating them?
sorry i worded it wrong, yes i have these
Files:
candlestick_patterns.mq5
64 kb
candlesticktype.mqh
5 kb
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 blz, I'm breaking my mind to get information from the object, but I don't want it to get the previous ones, but the ones that form in the current time, could you guide me?