Two Averages Oscillator

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: Two Averages Oscillator

Postby Apprentice » Thu Dec 11, 2014 4:47 am

Can you clarify your request.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19179
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Averages Oscillator

Postby spinemaligna » Tue Jan 06, 2015 6:07 am

Firstly Happy New Year to all.

I have a request to modify the oscillator so that it will change the colour of bar once the difference between the averages reaches a certain level. I use it along with the Woodies CCI and would like it to display a neutral colour bar until the difference reaches a certain level when it would display either red or green depending on direction. Could a signal also be incorporated once the difference has reached a certain level.
If this is not possible then could the oscillator be changed to allow level lines to be drawn as on the Woodies CCI.
This would make scanning several charts much easier.

Thanks in advance,

Ross
spinemaligna
 
Posts: 69
Joined: Sun Sep 12, 2010 2:42 am

Re: Two Averages Oscillator

Postby Apprentice » Sun Jan 25, 2015 1:22 pm

Difference between two different indicators Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19179
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Averages Oscillator

Postby Apprentice » Fri Aug 19, 2016 4:04 am

Minor update.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19179
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Averages Oscillator

Postby Kilgharrah » Wed Nov 09, 2016 4:49 pm

Hi development team,

Is there a possibility to develop an strategy based on 3_10.lua ? with all the usual options of any strategy, taking care of properly functioning options Start & Stop Time, and if not much work Is it possible to add a Stop order in pips based on the value of ATR (Price source, period and multiplier) and would be spectacular if it is possible that the limit also had this feature.

Thanks in advance
Attachments
Pic.jpg
User avatar
Kilgharrah
 
Posts: 46
Joined: Wed Sep 28, 2016 3:56 pm

Re: Two Averages Oscillator

Postby Apprentice » Fri Nov 11, 2016 1:38 pm

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19179
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Averages Oscillator

Postby Kilgharrah » Fri Nov 11, 2016 7:42 pm

Hi Apprentice, once again I have no words, only admiration for the speed and efficiency. Additionally I feel a little embarrassed to ask the functioning of the fields Cap Position and Position Exit, could you please explain to me a little.

And if not too much to ask if you can add an entry field that functions as target to compare it with the profit / loss reached in the day and once reached or exceeded stop strategy. Or if you recommend combining this strategy with some other existing strategy that already perform this task.

thank you very much

Note: a misspelling in the second line should read Limit Multiplier
User avatar
Kilgharrah
 
Posts: 46
Joined: Wed Sep 28, 2016 3:56 pm

Re: Two Averages Oscillator

Postby Apprentice » Sat Nov 12, 2016 3:03 pm

Use Position Cap - if set to false/no
Max Number Of Open Position In Any Direction / Max Number Of Position In One Direction limit will not be used.


Use Position Instrument in Position Exit true/yes
Use Position CustomID in Position Exit true/yes
Should be set to true
Strategy will only close Positions with same CustomID & Instrument as strategy.

Use Position Instrument in Position Exit false
Use Position CustomID in Position Exit true
Strategy will close all Positions with same CustomID as strategy.

Use Position Instrument in Position Exit true
Use Position CustomID in Position Exit false
Strategy will close all Positions with same Instrument as strategy.

Typo is fixed now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19179
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 12 guests