This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Displaying Arrow Symbols as Buy Sell Orders on the Chart


Back to topics list
avatar
9
khaledali 2004.12.17 20:40 
Hi,

Could you please reply w/ an exaple of how I can set Symbols such as : Arrows, Happy/Sad faces, .... on the chart
as soon as certain conditions are applied.

I use to do that w/ the older version, but w/ this one I can't.

also w/ this improvement you did in the MT4,could I open a pop up window in wich I may display texts upon certain conditions. if yes How ? because the comment method make the chart complicated & also I can't control # colors w/ it. this pop up may ressemble for the one you have for quotes.

Tks
(by the way , My Daughter (12 years old) is called also salwa)

avatar
9
khaledali 2004.12.19 22:26 
No need for the arrows setting, I resolve it.

but still questions about the comments part of the question
avatar
153
CoenWillemse 2004.12.19 23:09 
If you're needing a popup dialog with just text in it, how about just using Alert()? i.e.

if (certain conditions) {
Alert("Message");
}
avatar
4464
Slawa 2004.12.20 12:01 
for example

   ObjectCreate("smiley_face", OBJ_ARROW, 0, Time[4], High[1]+Point*10);
   ObjectSet("smiley_face", OBJPROP_ARROWCODE, 0x4a);
   ObjectSet("smiley_face", OBJPROP_COLOR , Gold);
   ObjectSet("smiley_face", OBJPROP_WIDTH  , 5);
   ObjectsRedraw();

avatar
9
khaledali 2004.12.20 12:31 
tks for the arrow answer.

but about the comments window, what I am asking for is a controlled popup window. in which I control the display of different comments wich changes constantely under # situations.
for example , in this popup window i may ;
- comments on # levels of the euro in comparision w/ yst close, the display of the comment will change the color
from green to gray, to red,etc....
- upon certain conditions, a warning comments that I should be aware of a combined situation.
- alert me that a predefined entry is ready to profit from.
- etc.....
all those are on the same popup window.

tks for the arrow answer.

but about the comments window, what I am asking for is a controlled popup window. in which I control the display of different comments wich changes constantely under # situations.
for example , in this popup window i may ;
- comments on # levels of the euro in comparision w/ yst close, the display of the comment will change the color
from green to gray, to red,etc....
- upon certain conditions, a warning comments that I should be aware of a combined situation.
- alert me that a predefined entry is ready to profit from.
- etc.....
all those are on the same popup window.

You may say it is a controlled popup reporting window.
avatar
4464
Slawa 2004.12.20 13:50 
Coen Willemse has answered already. use Alert(...) function
avatar
35
dwt5 2004.12.20 18:53 
khaled ali

I'm new to MT3 and MT4, would you mind sharing with me the mq II code to put things on the screen.
I've tried writing one myself but I keep getting a "loop detected" error and don't know how to fix it.

All I want is to watch for candle patterns and then put an arrow or something on the chart..

thanks in advance

d
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets