MQL4 - automated forex trading   /  

Forum

how to make sure ea can load enough data from history?

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

avatar
109
flourishing 2008.11.10 05:07 

for example.

i use a indicator ma

double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)

i want get ima(.......,shift =1000)

almost i can't get that,that will make a error, then ea can't keep working.

how to make sure i can get that data ?

thank you.

article

Betting Modeling as Means of Developing "Market Intuition"

The article dwells on the notion of "market intuition" and ways of developing it. The method described in the article is based on the modeling of financial betting in the form of a simple game.


avatar
2462
phy 2008.11.10 22:07 

If you just want to know if you have enough data...

int start(){

if(Bars < 1000){

Alert("Need 1000 bars, only have", Bars);

return(0);

}

...

...

...

return(0);

Back to topics list  

To add comments, please log in or register