mpantogi:
Hello there, 1.Let's say that i use 1 hour chart. Can i use indicators prices from 4 hour chart? 2.Can i keep data from the past? Examble: moving average cross each other and i want to open a trade if RSI>0,but that time the RSI is 55 and the trade don't opened. Is a way to keep the data for RSI for 2 hours? Can i use some list for that, which every time first in and last be out? So let's say i have the cross moving average and the RSI is 55, but before an hour was 50, then trade should open. |
Welcome to MT4.
|
Hello there,
After 2 years learning about forex,test some strategies and create new, i deside to automated my strategy.I have knowledge in java and now i buy a book and start learning mql4.
Before start coding i want someone to help me answer these questions:
1.Let's say that i use 1 hour chart.Can i use indicators prices from 4 hour chart?
2.Can i keep data from the past?Examble: moving average cross each other and i want to open a trade if RSI>0,but that time the RSI is 55 and the trade don't opened.Is a way
to keep the data for RSI for 2 hours?Can i use some list for that,which every time first in and last be out?So let's say i have the cross moving average and the RSI is 55,but before an hour was 50,then trade should open.
Thank you
Yes, both can be done in MQL4.
Thank you,
I was thinking that all of this can done with code,i was need only to be clear to me before i start.
For the RSI it was a syntax error,i wanted it to write R>50.
Much work start now,hope in the end that wii make me happy

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello there,
After 2 years learning about forex,test some strategies and create new, i deside to automated my strategy.I have knowledge in java and now i buy a book and start learning mql4.
Before start coding i want someone to help me answer these questions:
1.Let's say that i use 1 hour chart.Can i use indicators prices from 4 hour chart?
2.Can i keep data from the past?Examble: moving average cross each other and i want to open a trade if RSI>0,but that time the RSI is 55 and the trade don't opened.Is a way
to keep the data for RSI for 2 hours?Can i use some list for that,which every time first in and last be out?So let's say i have the cross moving average and the RSI is 55,but before an hour was 50,then trade should open.
Thank you