3 MA Bar Indicator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: 3 MA Bar Indicator

Postby BabyCoder » Sun Jan 29, 2012 8:03 pm

Hi,

You're a star!. ;) Keep the good work
BabyCoder
 
Posts: 25
Joined: Fri Dec 23, 2011 6:43 am

Re: 3 MA Bar Indicator

Postby BabyCoder » Sun Jan 29, 2012 8:09 pm

would you please suggest how this can be tested as 1. a signal and 2. as a strategy.
Once again, all your help is much appreciated. Kind regards
BabyCoder
 
Posts: 25
Joined: Fri Dec 23, 2011 6:43 am

Re: 3 MA Bar Indicator

Postby Apprentice » Mon Jan 30, 2012 9:12 am

Unfortunately, currently it is not possible.
The appropriate strategy is not written.
The request, has not yet been given.

Specify for which the indicator you need it,
specify the algorithm that such strategy should followed.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: 3 MA Bar Indicator

Postby gator_trader » Thu Feb 02, 2012 11:53 pm

Does this work in all time periods? I do not think it is working well in the 1 day time. Does anyone have better settings?
gator_trader
 
Posts: 1
Joined: Thu Feb 02, 2012 10:22 pm

Re: 3 MA Bar Indicator

Postby Apprentice » Fri Feb 03, 2012 3:24 am

You can try to use Strategy Optimizer to find better Setings.
Generally, the parameters vary from time frame to time frame.
Currency pair to currency pair.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: 3 MA Bar Indicator

Postby BabyCoder » Fri Feb 10, 2012 1:10 pm

Hi,

I found out while testing the indicator, that when the indicator was supposed to show a sell signal, it displayed it as neutral. At times, I also noted that some of the buy signals were not triggered depiste meeting all conditions.

Please check the codes and keep up the good work.

Much appreciated
Attachments
3 MA_Price Bar with SuperTrend Confirmation.jpg
BabyCoder
 
Posts: 25
Joined: Fri Dec 23, 2011 6:43 am

Re: 3 MA Bar Indicator

Postby Apprentice » Sun Feb 12, 2012 4:28 am

Not in my testing.
Can you re-read specification.

In addition to Standard 3 MA Price definition
price> ma1>ma2> ma 3 ---------- green color
price < ma1<ma2<ma3 ------------red color

This Indicator use Trend Indicator as an additional filter.
green color
price> ma1>ma2> ma 3
SuperTrend indicates Up Trend
red color
price < ma1<ma2<ma3
SuperTrend indicates Down Trend
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: 3 MA Bar Indicator

Postby newton » Mon Feb 13, 2012 9:14 am

sir,

can you add atr in this indicator as follows

mva1>mva2>mva3- and mva1-mva2>atr[period 14, multiplier 1.5]---- green
mva1<mva2<mva3 and mva2-mva1> atr [period 14, multiplier 1.5]--- red
newton
 
Posts: 85
Joined: Sun Oct 16, 2011 10:14 am

Re: 3 MA Bar Indicator

Postby BabyCoder » Mon Feb 13, 2012 8:39 pm

Hi,

Your description of the indicator is correct. I will load and test again. As you can see from the image posted, when the conditions for the sell were met, the signal remained yellow instead of red.

The strategy request for this indictor is as follows:

entry options (long): when conditions are met and bar is green, option to enter at the next bar or (n) bar with option to select number of pips from close of current bar.

exit options: options to select when price retracts back to any of the MAs and also option to have a trailing stop which would be the end of the current bar or previous bar (n)

I do hope this make sense.

Your good work is so appreciated. Thanks
BabyCoder
 
Posts: 25
Joined: Fri Dec 23, 2011 6:43 am

Re: 3 MA Bar Indicator

Postby kaya_171 » Tue Feb 14, 2012 6:11 am

Hi

Is it possible to write the same code for Ichimoku (ICH) with
1) tenkan sen > kijun sen > Senkou span B => green
tenkan sen < kijun sen < Senkou span B => red
neutral = yellow

2) price > tenkan sen > kijun sen > Senkou span B => green
price < tenkan sen < kijun sen < Senkou span B => red
neutral = yellow

Thanks in advance

Kaya :)
kaya_171
 
Posts: 29
Joined: Tue Feb 08, 2011 3:37 am

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 37 guests