Page 1 of 1

Price MA Cross Strategy

PostPosted: Fri Mar 04, 2016 7:26 am
by Apprentice
EURUSD H1 (03-04-2016 1247).png

Based on request.
viewtopic.php?f=27&t=62962

"Close Strategy after first Trade Executions" -Yes
Strategy will terminate itself after the first trade.
"Close Strategy after first Trade Executions" - No
Strategy will remain active after the first trade.


1. Algorithm
Open Long
Close + Delta> MA + Delta
Close[-1] + Delta <= MA[-1] + Delta

Open Short
Close - Delta< MA - Delta
Close[-1] - Delta >= MA[-1] - Delta

SignalMode== 2)
2. Algorithm

Open Long
Close > MA + Delta
Close[-1] <= MA[-1] + Delta

Open Short
Close< MA - Delta
Close[-1] >= MA[-1] - Delta

Price MA Cross Strategy .lua
(20.55 KiB) Downloaded 964 times

Re: Price MA Cross Strategy

PostPosted: Fri Apr 22, 2016 3:27 pm
by sk8ordie
how can i use tick ? (t1)

now i use m1 but i dont want to wait 1 min

error :155: The time frame must not be tick


thx!

Re: Price MA Cross Strategy

PostPosted: Mon May 23, 2016 1:08 am
by baleze
Hi

I tried to backtest this strategy but it not takes any trade.

Thnx

Re: Price MA Cross Strategy

PostPosted: Thu Jun 02, 2016 2:55 am
by Apprentice
EURUSD H1 (06-02-2016 0923).png

Strategy is designed to open a trade.
Strategy will terminate itself after the first trade.

Re: Price MA Cross Strategy

PostPosted: Mon Jan 22, 2018 8:54 am
by Apprentice
The strategy was revised and updated.

Re: Price MA Cross Strategy

PostPosted: Sat Jul 10, 2021 12:41 am
by enotikos
Hi apprentice,
Can you add a parameter in this strategy?

Open trade :  (end of turn / live)

Thank you

Re: Price MA Cross Strategy

PostPosted: Mon Jul 12, 2021 12:58 pm
by Apprentice
"End of Turn / Live" It is already available.