Yango:
Hallo, ich habe ein Problem.
ich habe einen Indikator geschrieben, der verschiedene Rechtecke setzt, auf dem Chart, in grün und in Rot.
Jetzt will ich, dass mein EA diese identifiziert (Indikator bereits implementiert) und weiß, welcher Preis z.B. an der Unter- und Unterkante ist. Gibt es hier ein ähnliches Programm, dass sich optimieren lässt, oder hat jemand einen Code für mich?
Liebe Grüße, Jan
try this code :
ObjectSetDouble(ChartID(),"Object_Name",OBJPROP_PRICE,0);//Price of rect ObjectSetInteger(ChartID(),"Object_Name",OBJPROP_TIME,0);//tim0 of rect
and this for point 2 of rect :
ObjectSetDouble(ChartID(),"Object_Name",OBJPROP_PRICE,1);//Price 1 of rect ObjectSetInteger(ChartID(),"Object_Name",OBJPROP_TIME,1);//tim 1 of rect
You will need to use ObjectGet, not ObjectSet....
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, I have a problem.
I wrote an indicator that draws different rectangles, on the chart, in green and in red.
Now I want my EA to identify these (indicator already implemented) and know which price is eg at the bottom and bottom. Is there a similar program here that can be optimized, or does someone have a code for me?
Kind regards, Jan