## Background

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.

### Background

This simple indicator, paints the background depending on whether the chosen indicator is rising or falling.
This will help you have fewer indicators / oscillator on the chart.
Background.lua

Background with Filter.lua

TrendStop Background.lua

TrendStop is available here.
viewtopic.php?f=17&t=12728&hilit=TREND+STOP
Two Indicator Background.lua

Up
1. Indicator > 2. Indicator
Down
1. Indicator < 2. Indicator
else
Neutral

Candle Overlay version.
viewtopic.php?f=17&t=65957&p=118739#p118739

Apprentice
FXCodeBase: Confirmed User

Posts: 18849
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Background

Hi Apprentice! How can we convert this to a strategy? This looks promising combined with other indicators for filtering..

PipGrabber

Posts: 46
Joined: Fri Jan 21, 2011 9:22 am

### Re: Background

This is not a classic indicator.
Strategies typically include one or more indicators.
Therefore, development of a strategy based on this indicator does not make sense.

If I'm wrong, convince me otherwise.

Composite and Strategy Builder.

Apprentice
FXCodeBase: Confirmed User

Posts: 18849
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Background

Apprentice wrote:This is not a classic indicator.
Strategies typically include one or more indicators.
Therefore, development of a strategy based on this indicator does not make sense.

If I'm wrong, convince me otherwise.

Composite and Strategy Builder.

Hmmmm... But based on your sample thumbnail. Its a moving average indicator your basing it from. That's just what I needed. A simple moving average that determines the rising and falling for buy and sell. Tried to simulate the result via two moving averages cross. But the results are not the same as this background. Near, but not the same.

There's something wrong with the strategy builder. Got errors when running it.

Thanks!

PipGrabber

Posts: 46
Joined: Fri Jan 21, 2011 9:22 am

### Re: Background

Indicator was revised and updated.

Apprentice
FXCodeBase: Confirmed User

Posts: 18849
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Background

Hello Apprentice, is it possible to make the TrendStop.bin indicator compatible with the Backround.lua ?
Thanks for everything you do on this forum it helps us a lot every day.

Sospool

Posts: 6
Joined: Fri Mar 24, 2017 4:02 pm

### Re: Background

Apprentice
FXCodeBase: Confirmed User

Posts: 18849
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Background

Thank you very much Apprentice for your help. But i'm sorry a small problem loading. I'm getting the error TrendStop Background.lua:71 unexpected symbol near 'Â'.

Sospool

Posts: 6
Joined: Fri Mar 24, 2017 4:02 pm

### Re: Background

Hi Apprentice

Could you add heikin ashi filter with the ability to select heikin ashi time frames so if I have a 5min chart open I can use a 1 hour or 4hour heikin ashi background..

Thanks
scandisk

Posts: 69
Joined: Thu Jul 25, 2013 4:51 pm

### Re: Background

Ups wrong version.
TrendStop Background fixed.

Apprentice
FXCodeBase: Confirmed User

Posts: 18849
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next