Page 1 of 1

Three duck's PMSM indicator coding ?

Posted: Fri Sep 28, 2007 5:07 pm
by svifx
HI TRO and all...

Could somebody code this indicator for tradestation/multicharts ?

It's based on Captain currency's 3 duck system.... It would be nice to have it coded as PMSM

Rules are :
4H dot line Green if price above 60 sma Red under
1H dot line green if price above 60 sma Red under
5min dot line green if price above 60 sma Red under

Trade rule long would be 4H and 1H dot green anfd 5 min switching from red to green
Trade rule short would be 4H and 1H dot red and 5min switching from green to red

It would be nice to have a poor man's radar screen for multichartsto show all FX currencies on one charts

Best regards...

PS.: link to thread :http://www.forex-tsd.com/suggestions-trading-systems/9771-3-ducks-trading-system.html

Posted: Sat Sep 29, 2007 5:25 pm
by TheRumpledOne
USE THE TRO PMSM SAK indicator!!







Note, you can use 3 different inputs to the TRO PMSM SAK but the results may differ. It's a TradeStation bug if you ask me but that's not how they see it.

So you can have 3 different instances of the indicator but under the general tab you tell it which "chart" to use.

I know that's the way you have to do if for CCI otherwise it's all wrong.


Workspace attached.

WOW Megacool

Posted: Sun Sep 30, 2007 4:43 pm
by svifx
Huge thanks TRO,

For pointing me to one of the few indicators you have coded that I had
not tried out yet :? mea culpa

I could not import your workspace because I'm using multicharts but _TRO_PMSM_SAK.ELD compiled out of the box....

So what I did first chart :
-EURUSD 5min, 1 Hour, 4 Hour candles on the same chart and applied
SMA 60 to all three....

I did not find out how to set up PMSM to use the 3 different inputs ....
But I remembered from the link in my first post that by using different values for the sma we should have the same results using only 5min
timeframe :
SMA 60
SMA 720
SMA 2880

So I setup _TRO_PMSM_SAK :
iInputA1 = iInputA2 = iInputA3=close
iInputB1=average(c,60)
iInputB2=average(c,720)
iInputB3=average(c,2880)

I just had a short look back on the chart to check that it works allright cool ...


Now we're in business :D

I started opening a new chart and added all the symbols I wanted and Hide
them ( chart not plotting ) and started to add _TRO_PMSM_SAK ...

But wait It was not telling me which currency it refers to so I allowed myself to add this code snippet :
inputs:
currency("EURUSD"),
iInputA1( close ),

There might be a better way but that was an easy fix you have to enter the input text by hand If you know the function to use I would be glad...

And here it is :
oops I dunno why I cant upload the second img I'll try in next post ...

3 Duck's PMSM "Radarscreen"

Posted: Sun Sep 30, 2007 4:56 pm
by svifx
Arrgh impossible to upload this image ...

See attachment

Posted: Sun Sep 30, 2007 5:29 pm
by TheRumpledOne
Let us know if it MAKES MONEY!

Posted: Sun Sep 30, 2007 9:00 pm
by Patch
Hi SviFX

Great job getting the PMSM adjusted and working. I recently came across the Three Ducks on TSD and am hoping to get a friend to handle the basic AE coding for MetaTrader 4.

I like the strategy because it is simple. And I've learned from TRO that simple is best.

Patch the Pirate
In VA

MT4

Posted: Sun Sep 30, 2007 9:54 pm
by svifx
HI Patch,

Just my 2 cents on MT4 :

I just switched to multicharts 2 months ago after using MT4 for more than a year ....

It's a nice free toy, underline three times free because all brokers running
this platform are just screwing their user's they all have fixed spread and
manipulate their "free" datafeed at theyr will...

I promise you I was using the same indicator setup on 2 brokers and one
would say buy and the other says sell....

Backtesting does not work and some function even disappear in never versions...like recalculate

You can hardly work with tick data and smallest resolution is 1m candle that's why most experts use higher timeframes

Protocol between broker and platform is encrypted ... for data but you password flies by cleartext... I really wonder why ? and what they want to hide ?

BTW I don't remember seeing any of TRO's indicators for MT4...

Finally I would not trust any fixed spread broker nor any offering metatrader at the moment.TRO said it at least one hundred times so I'm stating it once more

I'm sure in less than 2 weeks you will see an EA posted on the link in the
first thread...just be patient.

Back to the strategy 3 ducks IMHO it's just a strong trend indicator....

I attended last friday a webinar done by the author and this strategy really
lacks a good exit method...

I did a short backtest on the signals given from using TRO's SAK PMSM
and it looks promising but you still need some background to avoid entering loosing trades and find a bulletproof exit method.

I will forward test it in the coming weeks because it helps me spot the currencies which show me a good trend and maybe a retrace entry...
but with like any Moving average, the signals are late...

USDJPY looks like it's ripe for shorting but really the new session just opened... patience it should take out the lows 114.65 first !!!

Here's my setup I'm using woodie's CCI indicator and also DMI considering entries only if the orange line (ADX) is under the 20 line might be the beginning of a new trend...

Posted: Tue Oct 02, 2007 1:31 am
by BC
The last time I tried Multicharts, it had alot of problems.

Also the problem with any FX broker, is they want to screw you as much as possible. It does not matter if it is a metatrader broker or one of the larger such as FXCM

Metatrader has plenty of nice features and thousands of indicators available, but like any platform will also have drawbacks .
Judgement in any trade is left up to the trader, not the platform.