stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Macd Stochastic Fractal MA5/25 Daily Marylin
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1448
Page 133 of 141
Author:  Radar [ Thu Dec 26, 2013 4:48 pm ]
Post subject:  Marylin on ProTrader

Hey gang,

Just recently installed ProTrader3, and thought I'd give Marilyn a run on it...

ProTrader automatically detects whether you're importing an Empty4 EA or indicator, and places it in the correct folder. Sergey Kovalyov explained that it does this by looking for the following keywords in the code...

Code: Select all


SetIndexBuffer
SetIndexStyle
SetIndexArrow
indicator_chart_window
indicator_separate_window
indicator_color
indicator_level
indicator_buffers

...and any other keywords relating to custom indicators. If it finds them in your code, (even if it's an EA with an embedded indicator), it will treat it as an indicator, and it won't trade.

I removed the following lines from Marilyn...

Code: Select all


SetIndexStyle(0, DRAW_ARROW, 0, 3);
SetIndexStyle(1, DRAW_ARROW, 0, 3);
SetIndexStyle(2, DRAW_ARROW, 0, 1);
SetIndexStyle(3, DRAW_ARROW, 0, 1);
SetIndexArrow(0, 218);
SetIndexArrow(1, 217);
SetIndexArrow(2, 218);
SetIndexArrow(3, 217);

...and am now able to backtest/walkforward test her in PT3 with just under 10 years' worth of EURUSD tick data from Dukascopy. :yahoo:

Now I can finally work out what all the settings do, and how to adjust them :) (Yes, I've read the thread quite a few times, and the docs, but I'm the sort of person that doesn't really soak things in until I've put my hands to work on it).

Just thought I'd drop this in here in case anyone decides to give Marilyn a run on PT3.

Have fun!

Radar =8^)
Author:  bodleytunes [ Sat Dec 28, 2013 1:59 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Cheers for that Radar. Been pullin' me hair out and gave up trying to get it to work on the testing bit.

Bod.
Author:  bodleytunes [ Sat Dec 28, 2013 2:07 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Angon'

Either I'm being incredibly dumb here or something?

I tried to search for those indicator related strings in Marylin v0.36 and can't see any of them appearing?

Image
Author:  milanese [ Sat Dec 28, 2013 2:34 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

bodleytunes wrote:Angon'

Either I'm being incredibly dumb here or something?

I tried to search for those indicator related strings in Marylin v0.36 and can't see any of them appearing?
In version 0.36 the indicator is not embedded (you have to attach it to the same chart you are using the EA), so you can't find this code, it is in the actual version 0.40B embedded.. which is too the latest official Empty4 version..

Cheers :)

Tommaso
Author:  Radar [ Sat Dec 28, 2013 2:47 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Message deleted I'm half asleep here, and it seems it's only the top half... I'd written the same thing as Milanese, but only a couple of hours later ;)
Author:  bodleytunes [ Sat Dec 28, 2013 3:04 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Ok so if the indi code isn't built into 0.36 then 0.36 should work with pro-trader. But it doesn't :(

Doesn't place any trades during testing. :(
Author:  bodleytunes [ Sat Dec 28, 2013 3:05 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

I will try with the latest version.
Author:  Radar [ Sat Dec 28, 2013 3:13 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Hey Bod,

Just to clarify, you'd only be able to do visual backtests with v0.36, and would have to put SlipShod's SSSR indicator on the chart, as Marilyn would read global variables that the indie would write.

Have fun!

Radar =8^)
Author:  bodleytunes [ Sun Dec 29, 2013 12:54 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Hi Radar

I'm currently testing 0.40B with GOLD on PT and it's not placing any trades.

Are you experiencing problems with any trades being placed?

It seems to be doing the same thing as with 0.36 :(

I'm using the built in tick data, rather than Dukascopy.

PS: I also got a warning popup at the beginning of the test about " < 100 bars for an indicator"
PPS: It has just placed a single trade in the 6 months of back test.

Image
Author:  Radar [ Sun Dec 29, 2013 1:41 pm ]
Post subject:  Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Hey Bod,

I've had no problems getting trades placed in the backtester, but I backtest over 5 years of data.

You need to test over a long period of time, as Marilyn requires a minimum of 100 bars of data for the SSSR calculations...

Try editing the code, and drop the bars required down to around 50 or so, and see how a 6 month backtest goes for you.

To let me know how that goes, post in here... http://www.stevehopwoodforex.com/phpBB3 ... =75&t=3347 so that we don't divert the focus here, thanks.

Have fun!

Radar =8^)
All times are UTC Page 133 of 141