| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Zorro https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=921 |
Page 12 of 12 |
| Author: | ForMyEx [ Thu Dec 24, 2015 11:40 pm ] |
| Post subject: | Zorro |
I changed the functions to simply return priceHigh() and priceLow() respectively. Still the same. So the failure must be in the call of the indicator within the test script. Agree? |
|
| Author: | jcl [ Fri Dec 25, 2015 12:32 pm ] |
| Post subject: | Zorro |
The undefined function was highPrices(0) and the wrong value was the missing series. Those are simple syntax errors. The compiler does indeed not tell you much about them, as they are normally easily fixed. Real debugging begins when you can write code that does not produce error messages, but still does not do what you want. Then you must really go into details. I don't know why your fixes have not made it into your script, but you'll probably get better and faster help for those issues on the Zorro forum. There are experienced users who can walk you through the first steps of C script writing. |
|
| Author: | ForMyEx [ Sat Dec 26, 2015 2:11 pm ] |
| Post subject: | Zorro |
Hi jcl, I registered and posted my dilemma. A member replied that she did not see any errors and gave me the tip to ensure that the correct script is being edited and used. Since I had two versions of zorro on my PC I deinstalled both of them and got the brandnew v.1.4 but unfortunately experience the same problem. I'm not completely new to programming, but just to Lite-C. I must say that a bit more userfriendlyness would add value to the system. I'm used to get some errors during coding cycles but usually you can tackle them by simply looking to what the compiler or runtime feedbacks you. Letz see what comes next and whether I will receive further tipps from the zorro forum :hi: Regards Ahmet |
|
| Author: | jcl [ Sat Dec 26, 2015 2:38 pm ] |
| Post subject: | Zorro |
The errors were from your first script, so your problem has probably nothing to do with script code, but is some issue of editing a wrong script or having a script in a wrong folder. Possibly due to installing two Zorro versions. You edited the script of Zorro 1, but are still starting the script of Zorro 2, or the other way around. The Windows UAC also might play tricks on you. Check your usage rights, check the UAC, and make sure you know which script from which folder is the right one. Or just delete one of your Zorro versions for avoiding confusion. |
|
| Author: | shawneo [ Tue Dec 29, 2015 6:35 am ] |
| Post subject: | Zorro |
Very interested in this concept of a platform setup for automated trading strategies. I don't necessarily want to learn how to program a my strategy in zorro but i would be interested in chatting with someone with the expertise and who wanted to join forces. I have a pretty nifty system if you want to take a look I could let the right person see it. JCL you seem like you know what your doing. send me a message if your interested or have time for collaboration on my trading system with me. Best wishes to all. Regards, Shawn |
|
| Author: | jcl [ Tue Dec 29, 2015 10:24 am ] |
| Post subject: | Zorro |
Sure, we're always open for collaboration on interesting ideas. I don't look into forums very regularly, but you can anytime contact me through the contact form on http://financial-hacker.com. |
|
| Author: | BobbyT [ Sat Jul 01, 2017 6:41 pm ] |
| Post subject: | Zorro |
Hi JCL and everyone else on this thread, I have recently started to look at Zorro as an alternative to R for backtesting. Whilst R has a great set of tools for testing strategies it lack simple implementation of various features we forex folk like to play with such as basket trading, basket sl/tp and equity based trade operations (although these are present they come at an extreme overhead cost). I posted this over on the zorro forum but haven't got any replies yet so I thought I would post it here too. Does anybody have CSS transcribed into lite-c? I think it's merely a matter of feeding the slope calculations into the currency strength indi that comes with zorro however this indi only calculates the strength based on the most recent value (bar0). Yet, if I understand CSS correctly, it recalculates the most recent 20 bars in a step forward manner (bar20 to bar0) so there is some modification required there. I'm very fresh with zorro/lite-c. It's leagues ahead of MediocreQualityLanguage4 but the way it handles data is very different. I realise starting with CSS is a bit of challenge given the complexity of the indi but this is where I would like to start. So if anybody has CSS in lite-c form that would be awesome. Cheers, BobbyT |
|
| Author: | BobbyT [ Sat Jul 22, 2017 5:24 pm ] |
| Post subject: | Zorro |
For those that give a damn, I think I have this licked, at least for when IgnoreFuture = T and WeighOnlySymbolsOnChart = T. Just need to get the same market data into Zorro and my Empty4 test platform to validate the results. The above settings will run super CSS ala 'the simplest trading method ever' which is what I was after. I will report back with if the code is right or not, and then, and only then, can you ask me for it if you want to play with it in Zorro. Having said that, I am currently building Peaky in lite-C for backtesting. As a barebones, 'enter at every cross' and no CheckForRecovery or FollowAdverseMarkets or TradeNum limiters it doesn't look good. But as indicated the strategy is far from being complete on my end. However, a multitimeframe (everything from M1 to H4), single instrument, positive swap only version I banged up pulled down 57%/year from 2010-2015 on EURUSD. So it has legs (likely more PoS than vanilla Peaky, my OOTB Peaky demo account is almost blown and sitting at ~87% DD) just needs to be finished on my end. I will open a new thread at some stage as I start to complete some lite-c codeable SHF strategies (aka no HGI related strategies). At this stage, I'm still learning lite-C. It's a very different beast to what crapperquotes call a coding language but pretty awesome too. Cheers, BobbyT PS: I know the 'B word' is pretty dirty around here and with good reason. There are very important differences in the way Zorro operates which overcome some of the problems of Empty4 backtesting. Steve, if you would rather me not open a thread for backtesting using lite-C just say so, I know how much you dislike it |
|
| All times are UTC | Page 12 of 12 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|