Help in making strategies Expand / Collapse
Author
Message
Posted 8/10/2010 4:49:39 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/11/2010 1:47:23 AM
Posts: 3, Visits: 19
Hi fellows.

I want one strategy for each of the following indicators.

One for MACD:

A strategy based on default setting of MACD.
It shouldn't have any limit and stop.Only enter buy when the MACD crosses from below the zero line(bottom up),and also give buy signal when the MACD is above zero line.It gives a sell signal when the MACD Cross from above the zero line to below (Top down),as well give the sell signal when MACD is below zero Line.

One for Momentum.

A strategy on default setting of Momentum Indicator.
Same rules as MACD,but based on Momentum Indicator.

One for MA 50

A strategy based on MA50.
Buy when price above the MA50 and sell when price below MA50.

One for RSI 30 AND One for RSI 70.

Give Overbought signal when RSI above 70 level,Buy signal when the RSI crosses from below to above the level 30,as well it gives buy signal when price is above level30 and below 70 level having an up direction.(I mean RSI crossed the level30 from below to above(bottom up),and still trending above.)

Give Oversold signal when RSI below 30 level,and sell signal when the RSI crosses from above to below(top down) the level 70,as well it gives sell signal when price is below level70 and above 30level having an down direction.(I mean RSI crossed the 70 level from above to below(top down) and still in downward direction).

None of the strategy should have a limit or stop.The only stop should be,when the opposite signal generated.
If sell signals are not possible in the code,it should enter the trade.
Also in any strategy,the strategy closed the entered position when an opposite position opens.

I would be very delighted and thankful if someone made this for me.

Thanks.

Edited: 8/10/2010 10:08:37 AM by virtualtrader
Post #1843
Posted 8/26/2010 10:17:33 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 1/27/2012 12:53:25 PM
Posts: 201, Visits: 295
Hi, virtualtrader.

Look on this strategy and tell if it is that you wanted?

Do you want a separate strategy for each of the descriptions?


Best regards!

  Post Attachments 
MACD_cross.act (147 views, 2.79 KB)
Post #1900
Posted 8/27/2010 2:01:19 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/11/2010 1:47:23 AM
Posts: 3, Visits: 19
Hi eMoe

Thanks for posting the strategy file.

Yes I was requiring a separate actfx file for each of the strategy.

But I done it myself with the help of example strategies in plateform.

But I m now thinking of another strategy,if you make that it will be great help.It is based on only bollinger bands.

The Rules are.

Sell when the price touches the upper bollinger bands and close the position when the price touches the middle BBands.
And if we made a sell entry and the price didn't touch middle band and rise above,than make another sell entry which is the double of previous entry after it rises ten points.Keep on adding sell positions in this way till the price touches the
middle band and then close all positions.

The rules for the buy is vice versa of the sell.

Regards.
Post #1905
Posted 9/30/2010 8:02:20 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 1/27/2012 12:53:25 PM
Posts: 201, Visits: 295
Hi, virtualtrader!
I'm glad to add the strategy that works according to your description

Best regards!

  Post Attachments 
BBOpenClose.act (103 views, 2.34 KB)
Post #2053
Posted 11/11/2010 2:00:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/11/2010 1:47:23 AM
Posts: 3, Visits: 19
Hi

Thank you for the scipt.

I think so it would work.

Regards.
Post #2323
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin

All times are GMT -5:00, Time now is 12:06pm


© 2009 Actforex.com Terms of Use