Page 1 of 3

HalfTrend with Alert Strategy

PostPosted: Thu Dec 24, 2020 7:07 am
by Apprentice
EURUSD m1 (12-24-2020 1307).png

HalfTrend with Alert.lua
(14.58 KiB) Downloaded 590 times

HalfTrend with Alert Strategy.lua
(21.46 KiB) Downloaded 547 times

QQE.lua
https://fxcodebase.com/code/viewtopic.php?f=17&t=1347

Re: HalfTrend with Alert Strategy

PostPosted: Mon Jun 21, 2021 6:41 am
by Matt4x
Hi,
I try the HalfTrendwith Alert Strategy but I just get an error message:

C:/Program Files (x86)/Candleworks/FXTS2/Strategies/Custom/HalfTrend with Alert Strategy.lua:40: attempt to index field 'signal' (a nil value)


The HalfTrend with Alert indicator works perfectly, it is just the strategy that will not work.

Can anyone help...?

Thanks...

Re: HalfTrend with Alert Strategy

PostPosted: Tue Jun 22, 2021 2:40 am
by Apprentice
Works for me.
Are you using the original file name for HALFTREND WITH ALERT?

Re: HalfTrend with Alert Strategy

PostPosted: Tue Jun 22, 2021 2:56 am
by Matt4x
Hi

Yes I have not changed the file name.

Halftrend with alert works fine but the strategy that will automatically take buy and sell positions just give me that error message...
Any ideas....?

Thanks

Re: HalfTrend with Alert Strategy

PostPosted: Fri Jun 25, 2021 5:16 am
by Apprentice
Your request is added to the development list.
Development reference 601.

Re: HalfTrend with Alert Strategy

PostPosted: Wed Jun 30, 2021 2:51 am
by Matt4x
Can you make a strategy combining the HalfTrend strategy with a QQE confirmation ?

HalfTrend strategy will show all Buy and Sell alerts on the chart as normal, but will only enter a Buy or Sell position if direction is confirmed by the QQE.

Thank you in advance, I look forward to testing this one out.

Re: HalfTrend with Alert Strategy

PostPosted: Wed Jun 30, 2021 9:30 am
by Apprentice
Can you please provide a link to the QQE indicator, define QQE filter rules?

Re: HalfTrend with Alert Strategy

PostPosted: Thu Jul 01, 2021 11:48 am
by Matt4x
HALFTREND WITH QQE confirmation strategy.

It would work as follows....

Long
The trade is triggered by the HalfTrend but only if the QQE > TS Fast

Short
The trade is triggered by the HalfTrend but only if the QQE < TS Fast

Can you give the option to choose a different Time Frame for the QQE confirmation from the HalfTrend, and the option to use 2 QQE filters with diffrent time frames.

With the (Optional Exit / close position), close on opposite, reverse HalfTrend WITHOUT QQE confirmation, reverse HalfTrend with QQE confirmation, stop orders and limit orders.

The strategy options are nearly the same as "3 MA CROSS STRATEGY WITH QQE FILER" But change 3 MA calculation for HALFTREND calculation.
3 MA CROSS STRATEGY WITH QQE FILER found here: https://fxcodebase.com/code/viewtopic.p ... 13#p103413

QQE STRATEGY found here: https://fxcodebase.com/code/viewtopic.p ... &hilit=qqe


Thank you.

Re: HalfTrend with Alert Strategy

PostPosted: Fri Jul 02, 2021 6:04 am
by Apprentice
Your request is added to the development list.
Development reference 607.

Re: HalfTrend with Alert Strategy

PostPosted: Tue Jul 06, 2021 3:00 am
by Apprentice
You need to reinstall HalfTrend with Alert