Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=3351
Forum: 17 · Topic 3351 · 19 post(s)
Apprentice · Tue Feb 08, 2011 6:56 pm

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.
TrendStop is available here. viewtopic.php?f=17&t=12728&hilit=TREND+STOP
Up
Candle Overlay version. viewtopic.php?f=17&t=65957&p=118739#p118739
PipGrabber · Mon Mar 07, 2011 8:05 pm
Hi Apprentice! How can we convert this to a strategy? This looks promising combined with other indicators for filtering..
Apprentice · Tue Mar 08, 2011 7:05 am
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.
You can find two strategy that could help you Composite and Strategy Builder.
PipGrabber · Tue Mar 08, 2011 7:02 pm
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.
You can find two strategy that could help you 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!
Apprentice · Mon Feb 13, 2017 12:49 pm
Indicator was revised and updated.
Sospool · Fri Mar 24, 2017 4:56 pm
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.
Apprentice · Sat Mar 25, 2017 6:40 am
TrendStop Background.lua added.
Sospool · Sat Mar 25, 2017 1:32 pm
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 ‘Â’.
scandisk · Sun Mar 26, 2017 12:38 am
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
Apprentice · Sun Mar 26, 2017 5:38 am
Ups wrong version. TrendStop Background fixed.
Apprentice · Sun Mar 26, 2017 6:08 am
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..
For which indicator version?
Sospool · Sun Mar 26, 2017 6:58 am
Thank you very much Apprentice, it works perfectly
scandisk · Sun Mar 26, 2017 12:30 pm
Apprentice wrote:
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..
For which indicator version?
For Background version..
Apprentice · Mon Mar 27, 2017 12:53 pm
Background with Filter added.
scandisk · Mon Mar 27, 2017 2:11 pm
Apprentice wrote: Background with Filter added.
Awesome thanks!!
scandisk · Mon Mar 27, 2017 9:31 pm
Hi Apprentice
Is it possible to remove the neutral color on the background filter because it too much on the eye’s! Just green or red depending up or down would be great thanks!
Apprentice · Wed Mar 29, 2017 10:51 am
Try it now.
Cactus · Fri Mar 02, 2018 1:30 pm
Hello I like this a lot, indeed helps have less indicators on charts Can you provide a version of Background with the following change: Instead of coloring based on slope, let choose 2 indicators, and color based on whether the choosen stream of choosen indicator is less than or greater than another choosen stream of another indicator.
Example: Indicator_1.Stream1[i] > Indicator_2.Stream3[i]
Instead of Indicator_1.[i] > Indicator_1[i-1]
Apprentice · Fri Mar 02, 2018 4:42 pm
Two Indicator Background.lua added.