Forum

Looking for EA source code that gives me a leg up to applying my own logic

I'm looking for a framework to slot in my own trading strategy. What is the best one? Framework to provide such features as: Order entry Trailing stop options Spread options Order management Equity curve display Multiple Symbols Trade Management All options exposed as parameters so they may be

How do I get the bar number at the Fixed Chart Position in MT4?

I'm running MT4 and using MQL4. I need to access the price values at the bar thats at the Fixed Chart Position . CHART_FIXED_POSITION seems to be a place to start but thats a percentage of the screen. I need the bar offset (FixedChartBar) so that I can enter it in one of the pricing functions like

How to calculate the current bar MACD exponential histogram value for multiple time frames?

I'm writing a tool that will display whether the current MACD EMA histogram is less than or greater than 0, for TF other than the current TF. I know I need to download history for the other TF. MACD MA is calculated correctly. Given I have the history, why does this code not calculate the signal