bit reluctant to wade in on conversation
but heres my take,
bare in mind its a 'currency' based strategy
so it may not work as well on other instruments...
tends to work better the steeper the countdown
as a bit of volatility or sideways movement tends
to distort things abit...
when i checked the TD COMBO buy signals the accuracy
was even worse so the sell signals seem to work
better...
heres the code/script i have used but it uses a slightly
diferent form of visual basic so not sure
if u can transpose code to suit yur own softwares
'operators'...
Dim fTDSetup, fTDCountdown as Single
Dim bTDSetupFound as Boolean
If Not bTDSetupFound Then ' If we have not already found a setup, look for one
If C < C[4] Then ' Look for a single bar setup for a long
If fTDSetup < 0 Then fTDSetup = 0 ' Reset TDSetup count if we have changed direction
fTDSetup += 1 ' If we have a bar setup,increment our counter by one.
ElseIf C > C[4] Then ' Look for a single bar setup for a short
If fTDSetup > 0 Then fTDSetup = 0 ' Reset TDSetup count if we have changed direction
fTDSetup -= 1 ' If we have a bar setup, decrease our counter by one.
Else
fTDSetup = 0 ' Reset our counter if there are not consequtive bars
End If
If Abs(fTDSetup) = 9 Then bTDSetupFound = True ' We have found 9 consequtive setup bars.
Else ' We have found a setup, start the countdown
If fTDSetup > 0 And C <= L[2] Then ' If we have a long setup, count the number of bars where C <= L[2]
fTDCountDown += 1
ElseIf fTDSetup < 0 And C >= H[2] Then ' If we have a short setup, count the number of bars where C >= H[2]
fTDCountDown += 1
End If
End If
PlotHist("TD Setup", fTDSetup, 0)
PlotHist("TD Countdown", fTDCountdown, 0)
If fTDCountDown >= 13 Then ' We have 13 countdown bars
If fTDSetup > 0 Then Signal = LongSignal ' If setup was long then fire long signal
If fTDSetup < 0 Then Signal = ShortSignal ' If setup was short than fire short signal
fTDSetup = 0 ' Reset our Setup count
fTDCountDown = 0 ' Reset our countdown
bTDSetupFound = False ' Reset our Setup Found flag
End If
- Forums
- ASX - By Stock
- XJO
- mondaty trading
mondaty trading, page-75
-
-
- There are more pages in this discussion • 21 more messages in this thread...
You’re viewing a single post only. To view the entire thread just sign in or Join Now (FREE)
Featured News
LU7
Discover the strong preliminary feasibility of the Bécancour Lithium Refinery, showcasing resilience in a low pricing environment and a strategic plan to capitalize on future price recoveries
NEWS
Antler Copper Project hits major permitting milestone – air quality permit advances to final review
Add XJO (ASX) to my watchlist
(20min delay)
|
|||||
Last
8,150.0 |
Change
-55.200(0.67%) |
Mkt cap ! n/a |
Open | High | Low |
8,205.2 | 8,205.2 | 8,107.6 |
Featured News
XJO (ASX) Chart |