Try this one...
ObjectCreate("Trade", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Trade", "n", 40, "Wingdings", Red);
ObjectSet("Trade", OBJPROP_CORNER, 1);
ObjectSet("Trade", OBJPROP_XDISTANCE, 30);
ObjectSet("Trade", OBJPROP_YDISTANCE, 30);
in mql4 script, how does one anchor an object on the right side of the screen? by anchor i mean that it will stay in teh same place no matter how you scroll,
Try this one...
ObjectCreate("Trade", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Trade", "n", 40, "Wingdings", Red);
ObjectSet("Trade", OBJPROP_CORNER, 1);
ObjectSet("Trade", OBJPROP_XDISTANCE, 30);
ObjectSet("Trade", OBJPROP_YDISTANCE, 30);
hey raf thanks
im actually interested in placing items determined by a price level.
is this possible>
for example
if(ObjectFind("P label") != 0)
{
ObjectCreate("P label", OBJ_TEXT, 0, Time[0], Close[0]);
ObjectSetText("P label", "Price", 10, "Arial", Red);
}
else
{
ObjectMove("P label", 0, Time[0], Close[0]);
}
hey raf thanks
im actually interested in placing items determined by a price level.
is this possible>nice! thanks!
EMA Crosses Help...
Hi, I need an EA which will buy/sell when it crosses and take profit when it crosses again. Then follow by buy or sell when it takes the profit.
Is there anyone can help me to create one? Or can i find it in this forum?
Thanks.
And You want it to be profitable EA?
There are a lot of EAs at
Raff
Hi, I need an EA which will buy/sell when it crosses and take profit when it crosses again. Then follow by buy or sell when it takes the profit.
Is there anyone can help me to create one? Or can i find it in this forum?
Thanks.And You want it to be profitable EA?
There are a lot of EAs at
RaffYa, sure... which one it is?
Ya, sure... which one it is?
CodersGuru EMA_CROSS.mq4... I think...
Raff
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
in mql4 script, how does one anchor an object on the right side of the screen? by anchor i mean that it will stay in teh same place no matter how you scroll,