Extreme_TMA_Line Strategy

Strategies are published here.

Moderator: admin

Re: Extreme_TMA_Line Strategy

Postby Apprentice » Wed Apr 02, 2014 3:29 am

I could not find anything wrong in my code.
U may have a problem with delay,
strategy is configured to execute a trade at the end of the turn,
at the beginning of the next one.

If this is your problem, a modified strategy can be implemented.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Extreme_TMA_Line Strategy

Postby alexpatrovita » Mon Apr 07, 2014 12:47 pm

Yes this is my problem the strategy works only with the redraw false, what i can do , i can change some parameter like trend i don't know? thanks of all Alex
alexpatrovita
 
Posts: 3
Joined: Fri Mar 28, 2014 9:10 pm

Re: Extreme_TMA_Line Strategy

Postby alexpatrovita » Wed Apr 09, 2014 7:02 pm

My question is the strategy works with the redraw true?
alexpatrovita
 
Posts: 3
Joined: Fri Mar 28, 2014 9:10 pm

Re: Extreme_TMA_Line Strategy

Postby moomoofx » Fri Jun 06, 2014 6:09 pm

Alexpatrovita,

What is the problem if redraw is true? What do you mean it only works when redraw is false?

You have to remember that if redraw is true, the indicator redraws values in the past that have already happened. Therefore, it is common to see the following situation that do not look correct but actually are:

1) A value in the past that triggered a trade, could be re-drawn later to not trigger a trade. It will be too late though because the trade has already been executed.
2) A value in the past did not trigger a trade, but could be re-drawn later to trigger a trade. Therefore, the strategy may enter a trade "too late"

Are you complaining about one of the above two situations?

Regards,
MooMooFX
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: Extreme_TMA_Line Strategy

Postby Kyriakos » Tue Oct 28, 2014 9:33 am

Hi

Can you make the strategy to work with the tick versions of the indicator?
Kyriakos
 
Posts: 34
Joined: Sun Oct 16, 2011 5:43 pm

Re: Extreme_TMA_Line Strategy

Postby Apprentice » Wed Oct 29, 2014 3:53 am

Tick_Extreme_TMA_Line Strategy Added
Extreme_TMA_Line Strategy.lua Update
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Extreme_TMA_Line Strategy

Postby morngrym » Sat Nov 01, 2014 10:48 pm

Hey apprentice would u be able to take this same strategy and put a alert to when the candle breaks either the upper or lower lines. or even better would be once the bar has broke the lower/upper line and then when there is a bar in the opposite direction to start a trade. I would show a picture but I don't know how to post one here.
morngrym
 
Posts: 4
Joined: Fri Jun 29, 2012 7:24 pm

Re: Extreme_TMA_Line Strategy

Postby Apprentice » Mon Nov 03, 2014 4:07 am

In such a strategy, central line slope, has no role or?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Extreme_TMA_Line Strategy

Postby morngrym » Mon Nov 03, 2014 11:49 am

the center line only plays a small part to if I make larger trades but otherwise it doesn't impact on my strategy, I just use when the Bar(not the wick) breaks upper/lower line then wait for a return bar to finish in the opposite direction to buy/sell.
morngrym
 
Posts: 4
Joined: Fri Jun 29, 2012 7:24 pm

Re: Extreme_TMA_Line Strategy

Postby Apprentice » Wed Nov 05, 2014 3:52 am

Can you post a detailed description of requested strategy, modifications.
Something like this.
If .. cross .. Then Open ...
If ...cros... Then ... Close
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 36 guests