Putting an object anchored on the right side of the screen

To add comments, please log in or register
[Deleted]  

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,

raff1410
318
raff1410  

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);

clam61:
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,
[Deleted]  
raff1410:
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>

raff1410
318
raff1410  

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]);

}

clam61:
hey raf thanks

im actually interested in placing items determined by a price level.

is this possible>
[Deleted]  

nice! thanks!

ericlooi
22
ericlooi  

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.

raff1410
318
raff1410  

And You want it to be profitable EA?

There are a lot of EAs at

www.lightpatch.com/forex/

Raff

ericlooi:
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.
ericlooi
22
ericlooi  
raff1410:
And You want it to be profitable EA?

There are a lot of EAs at

www.lightpatch.com/forex/

Raff

Ya, sure... which one it is?

raff1410
318
raff1410  
ericlooi:
Ya, sure... which one it is?

CodersGuru EMA_CROSS.mq4... I think...

Raff

To add comments, please log in or register