SimpleGuy 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

SimpleGuy Indicator

Postby Apprentice » Fri Feb 09, 2018 6:41 am

EURUSD D1 (02-09-2018 1039).png

Based on the request.
viewtopic.php?f=27&t=65710
1.Line
([non lag moving average] - [ema]) / Close)
2. Line
[non lag moving average] - [Close]
SimpleGuy Indicator.lua
(4.38 KiB) Downloaded 403 times

SSNonLagMA.lua SSNonLagMA.lua
viewtopic.php?f=17&t=2231&hilit=non+lag+moving
SimpleGuy Indicator 1. Line.lua
(3.83 KiB) Downloaded 419 times

1.Line
(Close / [non lag moving average] - [ema])
SimpleGuy Indicator 2. Line.lua
(3.5 KiB) Downloaded 441 times

2.Line
[Close] - [non lag moving average]
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SimpleGuy Indicator

Postby Gentle » Fri Feb 09, 2018 7:59 am

Hi Apprentice,

Thank you for your indi. And thank you SimpleGuy, also.

I noticed I should add this to calculation in order to display correctly on 2-digit charts:

Code: Select all
point = source:pipSize();
...
Line1[period]= (NLMA.DATA[period] - EMA.DATA[period]) / source[period]*(point/0.0001);
User avatar
Gentle
 
Posts: 13
Joined: Thu Feb 02, 2017 4:22 am

Re: SimpleGuy Indicator

Postby SimpleGuy » Fri Feb 09, 2018 10:37 am

Hi Apprentice,

thanks alot for ur help.

Can make it separately become 2 indicator?

1.(Close) / ([non lag moving average] - [ema])

2.(Close) - (non lag moving average)

Best Regards
SimpleGuy
 
Posts: 4
Joined: Wed Feb 07, 2018 7:27 am

Re: SimpleGuy Indicator

Postby SimpleGuy » Fri Feb 09, 2018 11:21 am

Hi Apprentice,

Can make both line separately become 2 indicator

first indicator is (Close / [non lag moving average] - [ema]).

second indicator is [Close] - [non lag moving average]

Really thanks alot :)
SimpleGuy
 
Posts: 4
Joined: Wed Feb 07, 2018 7:27 am

Re: SimpleGuy Indicator

Postby Apprentice » Fri Feb 09, 2018 11:24 am

SimpleGuy Indicator 1. Line.lua & SimpleGuy Indicator 2. Line.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SimpleGuy Indicator

Postby SimpleGuy » Fri Feb 09, 2018 11:51 am

Hi Apprentice

1.Can modified the indicator value become 2 digit? like when I put a horizontal line on it, let say 0.00035 level, now is single digit 0.0003 or 0.0004.

2.Can modified the indicator calculation as below?

first indicator = (Close / [non lag moving average] - [ema])
([non lag moving average] - [ema]) / Close) MODIFIED TO (Close / [non lag moving average] - [ema])

second indicator = [Close] - [non lag moving average]
[non lag moving average] - [Close] MODIFIED TO [Close] - [non lag moving average]

THANKS ALOT
SimpleGuy
 
Posts: 4
Joined: Wed Feb 07, 2018 7:27 am



Return to Custom Indicators

Who is online

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