Forum

Displaying Graphic characters on the graph.

Hi I tried to modify this simple program to display an UpArrow at three places ( times) depending upon the if condition. It works partly and displays one arrow when i run it offline in simulated mode. But does not work at all when online. Please can someone point the mistake and show me what i shud

Working on a certain protion of the graph

hi everyone. is it possible for me to test my code on a given set of bars that i can define? like a certain portion of the graph that i want to test my data on while testing it off line. if so how can it be done. Thanks

How to Check on a certain part of the graph . ( Backtesting ? using a certain date and time )

hi !! thanks for the reply. lets take an example cos that how i understand better. suppose i have a smal loop to find out all the HIGH values of the candle sticks for a portion of the graph say starting from 3rd nov 12.00 Pm to 4 PM the same day, how wud i incorporate that in offline testing ? code

How to calculate the number of Bars since the start of the trade session?

Hi all. I have another small problem that i cannot figure. If i log on at any time during the day and need to analysie the bars since the start of the day's session, how can i do that? For example if i logged in at 12.20 in the after noon and want to know and analyse the bars since the morning start

This simple code is not working and i cant understand why? Can someone explain?

//-------------------------------------------------------------------- // Tester_Invert.mq4 // To be used as an example in MQL4 book. #include <stdlib.mqh> #include <WinUser32.mqh> //-------------------------------------------------------------------- // Global variable