Indicator request -- A WAVE INDICATOR

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Indicator request -- A WAVE INDICATOR

Postby PIPO1222 » Wed Aug 15, 2018 10:29 pm

hello Apprentice,

I find out a very interested indicator in other software, it is:

VAR1=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,m);/m is the paremeter of candles
VAR3:=HHV(HIGH,m);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
VAR5:=EMA(0.667*REF(VAR12,1)+0.333*VAR4,2);
UP:STICKLINE(VAR4>VAR5,VAR4,VAR5,7,0),COLORGREEN;
DOWN:STICKLINE(VAR4<VAR5,VAR4,VAR5,7,0),COLORRED;
SINGE:EMA(VAR5,5), COLORYELLOW;

that is all. I do not know how to translate this into ".lua",could you please help? In that software this Indecator is called FXBS, and you can find what it is looks like in attachment
Attachments
IND-FXBS.png
PIPO1222
 
Posts: 17
Joined: Thu Mar 20, 2014 5:27 am

Re: Indicator request -- A WAVE INDICATOR

Postby Apprentice » Thu Aug 16, 2018 8:40 am

Can you provide more info, web reference, source platform name?
Have a problem with VAR12, VAR12 is used and has not been declared anywhere.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Indicator request -- A WAVE INDICATOR

Postby PIPO1222 » Fri Aug 17, 2018 5:17 am

Apprentice wrote:Can you provide more info, web reference, source platform name?
Have a problem with VAR12, VAR12 is used and has not been declared anywhere.


VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,2); //here are both var4,not var12

sorry, my mistake,

I got this indicator from a chinese friend, he says it is a chinese platform. he gave me this code and the picture.
PIPO1222
 
Posts: 17
Joined: Thu Mar 20, 2014 5:27 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 12 guests