Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=23836
Forum: 31 · Topic 23836 · 23 post(s)
Apprentice · Wed Sep 26, 2012 12:00 pm

This is a simple strategy MVA. Trading signals are generated by a simple one Price / MA Cross.
Long - Price / Ma CrossOver. Short - Price / Ma CrossUnder.
As a option you can use Slope or Position of second Confirmation MA as filter.
Slope Long - Up Slope Short-Down Slope
Position Long - Price > MA Short - Price <MA
The Strategy was revised and updated on December 18, 2018.
bfleming · Thu Sep 27, 2012 6:00 am
There doesn’t seem to be a closing logic. System should close trades when price crosses back over signal MVA. Thanks!
Apprentice · Thu Sep 27, 2012 6:02 am
Was not specified or required.
bfleming · Thu Sep 27, 2012 7:07 am
Oh, my apologies, I assumed that it would be a given. Would it be possible to add a closing logic? Thanks!
Apprentice · Sat Sep 29, 2012 3:30 am
As an optional i can add dozens or hundreds of modifications. This extends the time required for development, so i implement things that you are ask from us.
arstechnica · Sun Sep 30, 2012 12:49 pm
Hi darling..
my regards from Naples.
I’m trying to optimize some EMA signals and strategies, starting from available signal and strategies downloaded from the forum.
I saw some strategies available as defaulf in TSII are in both .lua and .lua.rc extension.
How can I modify .rc extensions?
Regards
Salvatore
bfleming · Sun Sep 30, 2012 11:55 pm
Of course, I understand that, so my apologies for not being clear. Please add the following exit logic:
Close Long on Price / Ma CrossUnder. Close Short - Price / Ma CrossOver.
Thanks a million!
Apprentice · Mon Oct 01, 2012 1:58 am
Your request is added to the development list.
bfleming · Thu Oct 18, 2012 3:35 am
Hi, I’m just wondering where this stands on the development list. Thanks!
Apprentice · Wed Oct 24, 2012 3:45 am
Now you can select optional Exit. Exit Long Price / MA CrossUnder (Signal MA/ Confirmation MA /Any MA ) Exit Short Price / MA CrossOver (Signal MA / Confirmation MA /Any MA ) Alsp I have added Ma Type Selection.
arstechnica · Thu Oct 25, 2012 12:24 pm
do you have a ready strategy just to close positions by 2 ema crossover or cross under dependig if long or short? Or take profit at same… so it is a stop loss or stop profit
It could be good for dynamic stop and profit
Apprentice · Fri Oct 26, 2012 2:53 am
No we have not, We will prepare something.
Apprentice · Thu Nov 08, 2012 10:29 am
PPMA, Second Method Selector Added.
Ramp711 · Wed Feb 20, 2013 1:09 pm
Hi Apprentice, can you please add the calculation to the strategy as well
Apprentice · Thu Feb 21, 2013 7:20 pm
Can you please elaborate on your request.
Apprentice · Fri Jun 24, 2016 4:49 am
Major Update.
Apprentice · Sat Dec 17, 2016 8:46 am
Strategy was revised and updated.
foreveryoung · Fri Feb 28, 2020 11:33 am
Dear Apprentice
I tried to use the strategy, however, it did not open the position when signal appeared. I have set “Allow strategy to trade” to Yes and is activated on the trading platform. Back testing works just fine.
Looking forward to your response.
Regrads Nik
Apprentice · Sun Mar 01, 2020 4:27 pm
Your request is added to the development list. Development reference 804.
Apprentice · Mon Mar 02, 2020 2:14 pm
I don’t have any issues with it. Maybe you forgot about the filter?
foreveryoung · Mon Mar 02, 2020 7:47 pm
Filter Mode, I set this to “Do not use filter”, and Use Exit, I set this to “No”. I am looking to use this strategy as a simple price MA cross. It did not open the position with these settings
Apprentice · Fri Mar 06, 2020 7:07 am
I don’t have any issues
foreveryoung · Fri Mar 06, 2020 7:40 am
will try again