MQL4 - automated forex trading   /  

Forum

how to create an arrow on the price chart

Back to topics list To post a new topic, please log in or register

avatar
4
anilforex 2006.01.23 11:25 
can anybody tell me how to create an arrow on a price chart when a particular condition is met.

for eg... if the ADX value isl less than +DI there should be an arrow on the price chart at this particular price.

I am tryin to use ObjectCreate("arrowi",OBJ_ARROW,0,timeofbar,0) but its of no use.

When i run the script, i can see the output on the log but there are no arrows appearing on the price chart.


thanks in advance
anil

article

Price Forecasting Using Neural Networks

Many traders speak about neural networks, but what they are and what they really can is known to few people. This article sheds some light on the world of artificial intelligence. It describes, how to prepare correctly the data for the network. Here you will also find an example of forecasting using means of the program Matlab.


avatar
118
rfiche 2006.08.09 22:12 
ObjectCreate("ObjectName", OBJ_ARROW, 0, Time[MyBar]);
ObjectSet("ObjectName", OBJPROP_ARROWCODE, 74);
The code above will show a smile face arrow (wingding code 74) on your chart.

Available codes:

http://docs.mql4.com/constants/arrows
http://docs.mql4.com/constants/wingdings

I think it will help you.

Regards.
Back to topics list  

To add comments, please log in or register