Registered User Joined: 12/19/2004 Posts: 415
|
I was cleaning up charts this morning and came upon a custom indicator:
(((STOC13.3 <= 20)) AND ((STOC13.3.1 < STOC13.3)) AND (C <= ( (MAXH15 - MINL30) * .618 + MINL30) AND C >= ((MAXH15 - MINL30) * .382 + MINL30) AND MAXH15 = MAXH30 AND MINL15 > MINL30)) * ((C - MINL30) / ( MINL30 - MAXH15))
There was another with < and > reversed. I can't remember who developed it and what was the expected outcome?
Any help from anyone on this one?
|
Registered User Joined: 12/31/2005 Posts: 2,499
|
((
'
' Stoc < 20 and moving down
'
(STOC13.3 <= 20)) AND ((STOC13.3.1 < STOC13.3))
AND
'
' close between fibonnacci range 0.618 and 0.382 of the 15 day high
'
(C <= ( (MAXH15 - MINL30) * .618 + MINL30) AND C >= ((MAXH15 - MINL30) * .382 + MINL30)
AND
'
' 15 day hi and also new 30 day high
'
MAXH15 = MAXH30
AND
'
' 15 day low is higher than the 30 day low
'
MINL15 > MINL30
))
'
' multiply the boolean result of the above, -1 for true or 0 for false,
' by where in the range 30 day range the price stands.
' For example:
' if MaxH15, which would also be MaxH30 is 200 and MinL30 is 100 and Close is 144 then
' the plot would be -1 * (144 - 100)/(200 - 100) = -0.44
'
* ((C - MINL30) / ( MINL30 - MAXH15))
|