Yes, you can now define your own subroutine (and functions) with your strategy code. This is required when writing complex strategies in a logic and simple way.
Also, it is required when there is a need to reuse existing code in different strategies.
So how we do it?
Very simple, as any Perl code (yes, Strategy Seeker’s script language is in fact Perl :-) ) we use the “sub” keyword, for example:
$str = “John Smith”;
Disclaimer: Strategy Seeker LTD. and or its subsidiaries each alone and together (the “SSK Group”") is not an investment adviser or broker-dealer or advising investment advisory service, nor an entity that recommends which securities customers should buy or sell for themselves. The SSK Group, and all affiliates of the SSK Group assume no responsibility or liability for your trading and investment results. You understand and acknowledge that there is a very high degree of risk involved in trading securities and that all simulated results may be faulty or not accurate. Also back testing and past results of any portfolio/startegy/universe are not indicative of future returns and there may be severe losses due to trades based on such simulations, back test or and other signal generated from the system. The SSK Group strongly recommend that the strategy seeker system will be used by professionals who strongly understand technical analysis and have significant experience. The SSK Group hold no responsibility on any trades done as a result with any strategy or portfolio of the strategy seeker system and the user is using and trading on his/her own risk. Any strategy shared by other users is not recommended by The SSK Group and is subjected a a very large risk. The SSK Group holds no liability or responsibility for any such or other strategy in the strategy seeker system.