Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=60657
Forum: 31 · Topic 60657 · 17 post(s)
Apprentice · Wed May 07, 2014 3:39 am

Open Long Short/Long MA CrossOver
Open Short Short/Long MA CrossUnder
Open Short
Vama (if used can be found here) viewtopic.php?f=17&t=2349&hilit=vama NonLagMA (if used can be found here) viewtopic.php?f=17&t=2231&p=5455&hilit=NONLAGMA#p5455
JOKER83 · Tue Mar 03, 2015 7:20 pm
CAN YOU MAKE CLOSE OPTION ON/OFF
Apprentice · Wed Mar 04, 2015 3:41 pm
Can you elaborate, this strategy do not have any advanced Exit logic. Only close on the opposite.
JOKER83 · Thu Mar 05, 2015 6:34 am
I HAVE SELL TRADE BUY SIGNAL -CLOSE MY TRADE THIS ON/OFF
AND CAN YOU MAKE TWO EMA TO CONFIRM BUT BIGGER TIMEFRAME ONE EMA TIMEFRAME CLOSE TRADE ON/OFF
TWO EMA TIMEFRAME CLOSE TRADE ON/OFF
akram66 · Sat Mar 14, 2015 2:37 am
AND CAN YOU MAKE TWO EMA TO CONFIRM BUT BIGGER TIMEFRAME
Apprentice · Mon Mar 16, 2015 3:23 am
Your request is added to the development list.
Fafountrader · Wed Aug 03, 2016 4:24 pm
I get the following messages when attempting to load - attempt to index global ‘strategy’ (a nil value) and the parameter with the specified id already exists. Please help.
Apprentice · Mon Aug 08, 2016 6:15 am
Try it now.
Fafountrader · Wed Aug 10, 2016 11:14 am
works thanks apprendice
Pied Pipper · Fri Oct 21, 2016 3:25 pm
Dear Apprentice,
I am new to Forex and Lua scripting.
When I test the attached strategy the entry order is always created 2 or 3 candles after the cross took place. Why is that and is there a way to create the entry order as soon a the cross happened (or a set time later to confirm the cross did in fact happen)? I am also playing with the following exit strategy idea: wait for the fast MA to flatten out (iow see a reversal in slope) and then exit. Will you be able to do that? I have played with your slope strategy as well, but the ‘sensitivity’ seems to highas the system enters and exits multiple orders along a fairly straight line.
I am looking forward to your reply in this matter, Thanks,
Apprentice · Mon Oct 24, 2016 3:22 am
Try to use “Live” Execution Type Will this work for you?
santiago · Fri Nov 11, 2016 10:13 pm
start time for trading and stop time for trading inputs dont seem to be working. I dont think they were implemented.
Apprentice · Sun Nov 13, 2016 5:28 am
Fixed.
Apprentice · Sun Dec 18, 2016 8:39 am
Strategy was revised and updated.
SasaOnline · Wed Aug 02, 2023 9:29 pm
Apprentice wrote: Strategy was revised and updated.
hello please mt4 and mt5 version
Apprentice · Tue Aug 08, 2023 3:33 am
We have added your request to the development list. Development reference 683.
Apprentice · Wed Jan 15, 2025 5:00 am
Quite a few implementations already exists for MT4: