Macd Stochastic Fractal MA5/25 Daily Marylin

Locked
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Marylin on ProTrader

Post by Radar »

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^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
bodleytunes
Trader
Posts: 68
Joined: Tue Oct 02, 2012 8:38 am
Location: Stockport

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by bodleytunes »

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

Bod.
User avatar
bodleytunes
Trader
Posts: 68
Joined: Tue Oct 02, 2012 8:38 am
Location: Stockport

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by bodleytunes »

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
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by milanese »

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
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by Radar »

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 ;)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
bodleytunes
Trader
Posts: 68
Joined: Tue Oct 02, 2012 8:38 am
Location: Stockport

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by bodleytunes »

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. :(
User avatar
bodleytunes
Trader
Posts: 68
Joined: Tue Oct 02, 2012 8:38 am
Location: Stockport

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by bodleytunes »

I will try with the latest version.
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by Radar »

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^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
bodleytunes
Trader
Posts: 68
Joined: Tue Oct 02, 2012 8:38 am
Location: Stockport

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by bodleytunes »

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
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Re: Macd Stochastic Fractal MA5/25 Daily Marylin

Post by Radar »

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^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Locked

Return to “Automated trading systems”