Rating: Empty Star Empty Star Empty Star Empty Star Empty Star

Member Since Jun 30, 2015  7 posts abiolaribigbe Jan 02 2017 at 12:07
Please i need someone to help me get 5day Average daily range to my meta 4 platform...I have no idea how to get this and how to install it..I will appreciate your help!!


Member Since Jan 03, 2017  46 posts Dave (dragonEA) Jan 18 2017 at 12:07
//adr calculating
int digits=(int)MarketInfo(Symbol(),MODE_DIGITS);
double pipsdouble=MarketInfo(Symbol(),MODE_POINT)*MathPow(10,digits%2);

int ADR_W1=int((iMA(Symbol(),PERIOD_D1,5,0,MODE_SMA,PRICE_HIGH,1) - iMA(Symbol(),PERIOD_D1,5,0,MODE_SMA,PRICE_LOW,1))/pipsdouble); //5 days ADR

int ADR_M1=int((iMA(Symbol(),PERIOD_D1,25,0,MODE_SMA,PRICE_HIGH,1)-iMA(Symbol(),PERIOD_D1,25,0,MODE_SMA,PRICE_LOW,1))/pipsdouble);

Please login to comment.
Chinese New Year (9 min)
The Wall Street Journal: Trump moves to ...(27 min ago)
EURUSD 1.23339 GBPUSD 1.3997
USDJPY 107.372 USDCAD 1.26501







Twitter |  Facebook |  Site Map  |  Terms  |   Privacy Policy
©2014 Myfxbook Ltd. All Rights Reserved.
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors. Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance. You could lose some or all of your initial investment; do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions. Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.