You have chosen to sponsor your bid up to a maximum amount of .
3 EMA's on 20min EURUSD with horizontal lines
I need the following code:
instrument : EURUSD
period : 20 minutes
indicator : ema with period 4
There has to be 3 EMA's (all period 4 on 20minute graph), namely EMA(0), EMA(1) and EMA(2) for each of the past 3 candles. Each EMA must be coded and named separately (not by use of counters) as I need to manipulate them separately.
At the end of each bar period (onBar of 20 minutes) there must be drawn a horizontal line for each of the EMA , namely HL_EMA_0, HL_EMA_1 and HL_EMA_2, colored white yellow and green respectively)
With each new onBar, the lines have to move to the next respective bar (i.e. HL_EMA_0 must move to HL_EMA_1's previous, position, HL_EMA_1 must move to the previous HL_EMA_2 and HL_EMA_2 must move to the new last candle. Again, do not use counters to name and create the horizontal lines, as I need to manipulate them separately and differently.
Attached is a sample test file, as well as a MACD sample file that shows how to do a data feed (the file is for MACD and use counters - not what we want for the project though).
Additional Project Description:
11/30/2012 at 1:20 SGT
This is for JFOREX of Dukascopy. Please make sure you test on a demo account that 20 minute datafeed for EMA works correctly.