by dljohn » Fri May 13, 2011 10:12 am
Dear Alexander.Gettinger,
Thank you for your help!
After many tests, found the "MACD WITH SAR STRATEGY" to price results not very rational. As you know the MACD SAMPLE STRATEGY has certain to price analysis functions, I think it is perhaps for this reason interference on SAR normal exertion,cause of the trend is not very sensitive.
I think this "MA_MACD STRATEGY" is better than "MACD SAMPLE STRATEGY".
I edited the "SAR MACD STRATEGY TEST" based on the "MA_MACD STRATEGY", the purpose is to write with SAR instead of MA.
Because this is my first time to writed by LUA, this strategy have problems, doesn't work.
Would you pls help me to find out the problems. I would appreciate.
By the way, I hope SAR is preferred.
Thanks again.
- Attachments
-
- SAR_MACD_Strategy test.lua
- (14.48 KiB) Downloaded 1210 times
-
- MA_MACD_Strategy.lua
- (18.78 KiB) Downloaded 1202 times