Forum

Inertia indicator

Can some please make this indicator because i can't find it on the web. Inertia = LstSqrMA(RVI) RVI is well known : Relative Vigor Index, RVI - MQL4 Code Base Thank's in advance

Tick Bars?

Is there someone who can tell me if tick bars will be available in the final version? thx

Is there a way to prove that a server pushes delayed quotes??

Hi all, i had a problem with my broker that is not a scam but friday quotes were delayed . Maybe saving quotes in a file with timecurrent and timelocal indexed on a atomic clock. What do you think about this

loop problem : enhanced take profit

is there anybody who can tell me why this loop gives problem when backtesting : if(TP_ameliore==true && OrderSelect(ticket,SELECT_BY_TICKET)==true) if (Bid>(OrderOpenPrice()+takeprofit*Point) && OrderType()==OP_BUY) for(int i=0;i<=1000;i++) { double previous_tick_on_bid=Bid; while

Enhanced take profit loop

well i try to encode a simple loop that compares incoming tick to previous one. This in order to enhanced take profit limit . clearly when go long for example and price going above tp price the loop start and go on until bid going up, and break when bid going down . once breaked ea close position. I

Do untestable EAs exist

hi, i d like to know if this kind of loop is testable or not : (or maybe this loop is just crappy? ) if(TP_ameliore==true && OrderSelect(ticket,SELECT_BY_TICKET)==true) if (Bid>(OrderOpenPrice()+takeprofit*Point) && OrderType()==OP_BUY) for(int i=0;i<=1000;i++) { double previous_tick_on_bid=Bid;

Could someone help me with my EA

Hello mql4 community, here is my first EA and i have a few problem with it althought it is very simple. the idea is to open a position when high or low of the previous hour is broken. Can someone have a look on it and tell me why when backtesting it does not open a trade. thank in advance

help for tick comparison

hello, i am an early beginner of MQl4 and i d like to create a function that can compare a new tick to the previous one. For example it will return true if : new tick>previous tick. i guess i must use the refreshrate function but i can t figure out how> thank in advance