AYMERIC:
https://book.mql4.com/functions/objects
Hi,
I would like my EA to draw an arrow on the graph when there is a signal of buy. I use Ichimoku for the signal...
Aymeric
I posted some example code in YOUR thread at https://forum.mql4.com/62487
So I assume that you have read it and that code includes drawing arrows.
AYMERIC:
Hi,
I would like my EA to draw an arrow on the graph when there is a signal of buy. I use Ichimoku for the signal...
Aymeric
As GumRai posted earlier, use his code to instruct your ea too draw arrows :
if (senkouA>=senkouB && Bid > senkouA && Chikou_value> Bid) { if (Tenkan_value==Kijun_value) { //draw an arrow ??????????????????????????????????, string name="FXX_IchiupArrow"+(string)Time[0]; if(ObjectFind(0,name)!=0) { ObjectCreate(name,OBJ_ARROW_UP,0,Time[0],Low[index]-(Period()*Point*2));// Time[0] since you are talking about current bar ObjectSet(name,OBJPROP_COLOR,ArrowColour); ObjectSet(name,OBJPROP_WIDTH,ArrowSize); ObjectSetInteger(0,name,OBJPROP_ANCHOR,ANCHOR_TOP); } } }
Give it a name, a color, size and that's that.
And if you don't understand or not sure about how and why, ask if you want to learn
Cheers
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
Hi,
I would like my EA to draw an arrow on the graph when there is a signal of buy. I use Ichimoku for the signal...
Any idea ?Aymeric