Forum

Downloading historical data?

Hi, To download historical data I am currently using Tickstory Lite which is Dukascopy's data, it is however not round the clock price data but follows the exchanges opening hours which is not what I'm looking for. I would like to get <> and would like to hear how you go about getting this data

Hide my Experts code?

Hi, If I build an expert advisor and install it on my friends computer, is there any way to make the code crypted or similar so that he/she can not just open the code from MT4 and see how the code is writte in MetaEditor i.e. steal my code logic? Thanks

Difference Forex Gold vs Commodity Gold?

Hi, I'm downloading some pricedata from Tickstory Lite and am wondering about the difference in instrument that both refers to Gold. (Google didn't solve it for me) XAUUSD Gold (Forex) and AUCMDUSD (Gold Commodity) Of course I will check with Tickstory but first wanted to check with the greatest

Signal Line MACD, how to calculate EMA of it?

Hi all, what to use as "Close" in the calculation below to find out Si gnalLine EMA of MACD??? I've been googling around to find how to calculate the Si gnalLine in a MACD-calculation. I know the following to calculate EMA of something but the last part with close is not clear to me in regards to

RSI (sma) code, does it look correct?

Hi, am programming in C# and wants to use my code to backtest RSI settings that I then wish to program in MQL. DOES THE CALCULATION LOOK CORRECT BELOW? I'm using SMA-method for the calculation. In the example below I will have a setting of RSI 5 1) Calculate ChangeUp and ChangeDown for each bar by

Understanding RSI calculation

Hey, need your expertize! Question in short: SHOULD I NOT INCLUDE THE CURRENT BARS CHANGEUP/CHANGEDOWN WHEN CALCULATING THE RSI FOR THAT PARTICULAR BAR? Question in long form: I need some help understanding the what to include/exclude in calculating RSI for different amounts or RSI bars, say 10 and

Running MT4 on Virtual Machine (cloud).

How are you running your EA's 24/7? I've used Azure's virtual machine but feels it costs a bit to have it up and running all the time. Is there any better way to keep your EA's trading all the time. I don't want to run them locally on my computer which then has to be on and plugged in all the time

Can't get my Trailing Stop to work, need help.

Hi, In my EA based on MA's I want to have a trailing stop attached to any open order. I thought I did it right but the trailing stop moves both direction, not only following price up (or down if it's a sell position). For instance, open price buy position 100, ts 10, price moves to 110 and my sl

Running EA on several charts without interference, maybe SelectOrder()?

Hi, I have a simple MA-crossover EA running on asset class 1 (let's call it that). Now the problem is when I run the same EA on asset class 2 simultaneously they intefer with each other. Example, EA on asset class 1 says buy and opens a buy order, it closes right away because EA on asset class 2

Issues with MA, last bar shift on iMA function???

Hey, Just new to this forum and would need some help with 2 things I'm using a iMA function to get the MA value but don't really understand one part of it which is pretty essential. 1) The lastBarShift, as I understood it, this excludes the candle being formed right now and instead looks at