Swing

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

Swing

Postby Apprentice » Thu Dec 09, 2010 12:04 pm

Swing.png


This indicator draw circle on the top / bottom of each swing,
If you should ignore the Swing the circle is red,
If you should Respect the Swing the color is green.

During evaluation, the indicator compares the length of current Swing and the length of Swing which precedes him.

SWING.lua
(3.55 KiB) Downloaded 1227 times

Swing Oscillator.lua
(6.05 KiB) Downloaded 667 times


This is the algorithm that I developed.
As a basis for a complex evaluation.

The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Swing

Postby thetruth » Fri Dec 10, 2010 11:07 am

apprentice,
Great work!!
I do some modification, in the last version, the color can not change. in this version, can change the color.
I am thinking in a more detailed tutorial to develop, or change or modify some things in the indicators, signals or strategies.
Can you suggest that some document like a more detailed tutorial (than the help of lua) can be made? like the mlq4 tutorial.
thetruth
 
Posts: 43
Joined: Thu Feb 25, 2010 3:39 pm

Re: Swing

Postby Apprentice » Fri Dec 10, 2010 12:16 pm

Oops,
I have not noticed this error.
I intend to publish detailed instructions in the form of a blog.
But could not find the time.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Swing

Postby Apprentice » Wed Feb 01, 2017 7:45 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Swing

Postby Cactus » Thu Feb 02, 2017 12:41 pm

Can you turn this into an oscillator (1 for green, -1 for red) or similar
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: Swing

Postby Apprentice » Thu Feb 02, 2017 1:19 pm

Swing Oscillator.lua added
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 143 guests