Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Base from my example, what is the different between the 2?
As explained above iHighest will return the shift of the bar with the highest value and High will tell you the actual high value of a bar.
So if the current bar is shift 0 and you ask the iHighest of say the last 13 bars the result may be, for example 9, meaning the 10th bar back had the highest value. Now if you wanted to actually know what the value was you'd need to use the High function.
As explained above iHighest will return the shift of the bar with the highest value and High will tell you the actual high value of a bar.
So if the current bar is shift 0 and you ask the iHighest of say the last 13 bars the result may be, for example 9, meaning the 10th bar back had the highest value. Now if you wanted to actually know what the value was you'd need to use the High function.
Can someone please advise me how to programatically find the total number of long positions open and the total number of short postions open in MT4? I do not want the total number of all positions open together. My requirement is that I keep the same number of short and long positions open at the same time. eg:
Lets say I have a user-defined number of trades which are open concurrently, with an equal number of long and short positions. Some short and long positions close. I need to reopen an equal amount of short and long positions up to the user-defined limit.
Anyone write a routine to determine the number of bars since an order opened?
__________________
Visit http://www.openthinkingsystems.com for EA signal distribution systems, MetaTrader and Collective2 integration and general custom development.
I need 5 digit after decimal from price quote, it will display when using DoubleToStr function. I want to store a vlue get from object and use it for further calcullation i.e "price2"
could anyone please help me to solve this problem
My indicator does not work properly, the indicator works fine on screen but when I try to use in an EA and let it Alert(iCustom(....)); it gives an enormous value.