Page 4 of 6

Re: ZigZag Strategy

PostPosted: Thu Sep 24, 2015 3:11 pm
by jenniferFX888
Hi Apprentice,

Either i dont have the same version as you have but the one i m using is look exactly like the one LeTigre posted here. Pls see the link screenshot i attached. There is no option to choose the sound file folder. http://screencast.com/t/YNzqKe2lR

Thank you,

jenni

Re: ZigZag Strategy

PostPosted: Sat Dec 26, 2015 6:58 am
by dandee
Can this strategy be modified so the user can select whether to buy or sell instead of the strategy doing that and the user having the choice of selecting close on reverse and also user determine how many open position in each direction instead of the strategy closing out the position on reversing.Also I think there is a bug where if you run this on 2 different timeframes or 2 different instruments when the canclose() function is called it close all positions in both instuments

Re: ZigZag Strategy

PostPosted: Mon Dec 28, 2015 5:57 am
by Apprentice
Your request is added to the development list.

Re: ZigZag Strategy

PostPosted: Fri Mar 11, 2016 12:54 pm
by LeTigre30
Hello Apprentice,

I observed today a problem with this strategy. it enters only Sell Orders, never Buy orders.

Could you send me your feedback about this.
NB : I modified the name of the exit function by 'exitspecific' and enter by 'enterspecific'
due to Lua order 'exit'.

When the Sell orders are closed, it never open Buy orders ...

Does this strategy is compatible with indicore3 SDK ?

Bst Rgds

The code seems correct :

local signal = ''
if Use1 then signal = signal .. tostring(up1) end
if Use2 then signal = signal .. tostring(up2) end
if Use3 then signal = signal .. tostring(up3) end

if signal ~= prevSignal then
if (not Use1 or (Use1 and up1)) and
(not Use2 or (Use2 and up2)) and
(not Use3 or (Use3 and up3)) then
exitspecific('B')
enterspecific('S');

if ShowAlert then
ExtSignal(source, period, "SELL", SoundFile, Email, RecurrentSound);
end

elseif (not Use1 or (Use1 and not up1)) and
(not Use2 or (Use2 and not up2)) and
(not Use3 or (Use3 and not up3)) then
exitspecific('S')
enterspecific('B');

if ShowAlert then
ExtSignal(source, period, "BUY", SoundFile, Email, RecurrentSound);
end
end

Re: ZigZag Strategy

PostPosted: Sun Apr 10, 2016 12:53 am
by LeTigre30
Hello Apprentice,

A member requests some monthes ago, if this ZZ strategy could be mixed with ema 34, does this strategy is done ?

BST Rgds

Re: ZigZag Strategy

PostPosted: Thu Aug 11, 2016 5:53 pm
by JOKER83
NICE STRATEGY

CAN YOU MAKE A EXIT OPTION
FOR ALL INDICATORS

AND OPTION
BUY
SELL
BOTH

Re: ZigZag Strategy

PostPosted: Mon Aug 15, 2016 2:18 am
by Apprentice
Can you define EXIT OPTION?

Re: ZigZag Strategy

PostPosted: Mon Aug 15, 2016 5:54 am
by JOKER83
Apprentice wrote:Can you define EXIT OPTION?




1 Indicator Close trades yes/No

2 Indicator Close trades yes/No

3 Indicator Close trades yes/No

Other version

Highly adaptable zig zag strategy

1 Indicator buy , Sell , close , Alert

2 Indicator buy , Sell , close , Alert

3 Indicator buy , Sell , close , Alert

Re: ZigZag Strategy

PostPosted: Thu Aug 25, 2016 5:26 am
by Apprentice
Your request is added to the development list, Under Id Number 3609
If someone is interested to do this task, please contact me.

Re: ZigZag Strategy

PostPosted: Wed Oct 05, 2016 6:38 pm
by JOKER83
can you make Highly adaptable zig zag strategy

PLEASE

:? :? :cry: