Hello,
does anybody know exactly how the HiLoLimit-Indicator of Mr. Koch
is working or calculated? Does anybody know the exact formula?
The existing documentation is not so informative.
What other indictors are possibly comparable to the HiLoLimit?
Thanks a lot,
Mockasino
Size:
Color:
Hello,
Re: "exact formula" -- keep in mind that the community projects' code is open source. Not sure why the forum search feature isn't popular but it would also reveal the original code by
thodder:
DrKoch's HiLoLimit Indicator
Size:
Color:
Hi Eugene
Sorry for starting a new thread on HiLoLimit but I didn't know about this rule and I hope
I'm now at the correct place.
I,m looking at the latest HiLoLimit strategy of tHoddler which you have loaded on
2009/09/27. There has been many discussions on this type strategy for many years and some
mentioned problems with previous WL versions.From DrKoch
QUOTE:
The original scripts (mine) do not, but who knows waht variant you are looking on.
AND: There is a subtle "bug" in WL4's $imulator which generates unrealistic results when backtest are conducted with limit order scripts against EOD data and there are more orders than available money. See discussions about "IDBars" for details.
QUOTE:
I referred more to the fact, that a limit order strategy is not backtestable with WL because of a well-known "glitch" in WL's $imulator.
Summary of Explanation: $imulator's random trade selection prefers "better" trades than realizable with realtime execution. This creates backtest results which are too optimistic.
In the light of this are there any guidance/warnings you can give me backtesting? It's
running ok.
Size:
Color:
Size:
Color:
Thanks for the ref...I hoped that the problems would have been solved by now. I see that
it is not that simple.
Size:
Color:
Hint: going with the IntradayFillPriorityEstimate function should be easier than SetTimeOfDayPriority.
It has no intraday data requirement, and would take just 3 lines of code to add as per the Wiki code snippet:
1) using Community.Components; on top
2) The "PositionHelper" line - before the bars loop
3) and modifying the BuyAtLimit... with "if (BuyAtLimit..." as per the Wiki
Size:
Color:
CODE:
Please log in to see this code.
Error message; It says the price and IntradayFillPriorityEstimate
names in above code snippet does not exits in this context. Please assist.
Size:
Color:
That's because you skipped #1 and/or #2 of my steps above. Re-read the procedure and take
all all the mentioned steps.
The "price" should not exist until you explicitly added this variable. This is the entry/exit signal price. Make sure you've read the
Parameter Description box on the Wiki page. Read the Strategy code and try to find which variable is in charge of it in the HiLoLimit strategy.
P.S. I feel it will be appropriate to leave a pointer to this FAQ here:
How do I start with C# ?
Size:
Color:
EDITED 04/117/2017 by Eugene: Code updated to reflect a bug fix in C.Components' version of AutoStops. Update C.Components to v2017.05 or higher.CODE:
Please log in to see this code.
Please indicate where I made mistakes with above insertions. Sorry, the same errors appear.
QUOTE:
The "price" should not exist until you explicitly added this variable. This is the entry/exit signal price.
In theory I understand but don't know where and how to
add...and I had only the three lines to add in mind.
I have read the Parameter Description box but don't know what to do with it.
Variable in charge? I have tried to figure that out before my first post but to no avail
I know that the RSI is directing the strategy to the best area to attempt an order
on the next day that may or may not actually strike a limit price. The code for the HiLoLimit variable is not known to me and I know it is the actual trigger. After the modification we are working on, is implimented, WL will incorporate another code to direct the strategy to more realistic results.
I have done all the recommended studying but my shortommings above indicate my level.
I thank you, you are a wonderful supporter.
Size:
Color:
You've almost made it, just a little tweak to the final step is required:
CODE:
Please log in to see this code.
The idea is to
replace/adjust the original BuyAtLimit entry line with the line you pasted just before it, not to drop it nearby. Here's how it will work:
CODE:
Please log in to see this code.
The "price" parameter in our case of the HiLoLimit script is the "limitPrice" variable. You can always clear a WealthScript syntax question by taking a look at the QuickRef entry for BuyAtLimit and other trading methods.
Size:
Color:
P.S. And make sure you have Community Components installed on your system.
Size:
Color:
Hi Eugene
It's running now. Thanks a bunch.
Tested once on one symbol in Raw mode and I see no change in profit.
Before serious testing begin I would/should know how this mod works and how the HiLo works, cals or code or method would be appreciated. I have read most of the HiLo and the modifiaction threads but no dice. What does better mean iro this mod...is there a number? Ok, If the numbers come up good I will have to use intraday and the other option.
Thanks again
Ernst
Size:
Color:
P.S. I have just seen your update. Thanks.
Size:
Color: