Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Three Moving averages in same indicator - help
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=56010
Page 1 of 1

Author:  FlashCrash [ Sat 30 Dec, 2017, 03:08 ]
Post subject:  Three Moving averages in same indicator - help

Hi guys,

I'm trying to make a custom indicator that has multiple moving averages (the built in GMMA is not to my liking).

I know how to edit indicator code (very rudimentary), but for me to do that, I need some base code to work with.

Can someone help me please.

The following should suffice.

Indicator Summary

1) It should have 3 moving averages. eg 10 sma, 20 sma, 30sma
2) I should be able to alter the color of the upward and downward slopes (eg with some indicators you can make the upslope blue, and the downslope red)
3) It should superimpose on the chart itself (ie not in the indicator window).

If someone can write me a basic indicator that has those features, I should be able to edit the code to customize it further to my liking.

Any help would be greatly appreciated.

Author:  FXRabbit [ Tue 02 Jan, 2018, 11:10 ]
Post subject:  Re: Three Moving averages in same indicator - help

Greetings FlashCrash,

Are you building your automated strategy on the Visual JForex Flash Editor or coding it with the JAVA programming language ? if it is the latter, then please post in the designated sub-forum via the following link. Otherwise, kindly please attach your VFS file of your strategy on your topic here in order to better assist you.

https://www.dukascopy.com/swiss/english ... m.php?f=89

  Page 1 of 1