Expert Advisor help .. basic program

 
hi all , im new to this programing language

can any one give me a simple program that get data from the graph and some indecator?
becase i don't know how to get the input

and i'll be glad if any one explaen to me what that start , init deinit function should do

thanks
 
johny_abo,

there are some code examples in MT4.. make sure u have the navigator open, right click on an expert name or script name and select modify.. this shows u the code. look at as many examples as possible. if it is all 'gibberish' to u, then u should get some basic programming training.

init is executed once when the expert is added to the chart - this allows one to set certain parameters, for example

start is executed every tick - and is the 'main' part of the code

deinit is executed once when the expert is removed from chart - for example, to erase an indicator from a chart.

reagrds,
 
how can i get data from the chart and from indecators??