Price to close above/below multiple time frames

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Price to close above/below multiple time frames

Postby susan61 » Sat Dec 28, 2019 9:20 am

Hey Apprentice,
Would you be able to code a strategy based on price to close above/below a linear weighted moving average on several timeframes (x4) to be alerted (show alerts) when all time frames are above or all below
hope you can help thank in advance
Susan
susan61
 
Posts: 70
Joined: Mon Jan 14, 2019 4:19 pm

Re: Price to close above/below multiple time frames

Postby Apprentice » Sun Dec 29, 2019 6:08 am

Your request is added to the development list.
Development reference 501.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Price to close above/below multiple time frames

Postby susan61 » Thu Jan 02, 2020 8:01 am

Hi Apprentice, Happy Holidays!!
Seem to be getting alerts when the condition is met the time frame marked Entry Time Frame only and don’t seem to checking if all conditions are met on all 4 time frame either all above or all below. There should not be an entry time frame as such just be alerted when the last time frame out of the four in the strategy conditions are met. Did try change to the highest time frame in the strategy to be used as the entry time frame but didn’t deem to get any alert can you look into
Ps: Use HA as source? What is the need for this as have used yes & no and don’t seem to make a difference can you explain
Thanks
Susan
susan61
 
Posts: 70
Joined: Mon Jan 14, 2019 4:19 pm

Re: Price to close above/below multiple time frames

Postby Apprentice » Fri Jan 03, 2020 4:03 am

Your request is added to the development list.
Development reference 514.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price to close above/below multiple time frames

Postby Apprentice » Fri Jan 03, 2020 8:35 am

It does check all 4 timeframes.
Use HA as a source is to use HA as a source for indicators (instead of regular candles).
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price to close above/below multiple time frames

Postby susan61 » Fri Jan 03, 2020 11:15 am

Hi Apprentice,
Thanks for the explanation on HA
The idea is that you have four time frames all above or below the MA to give a direction and to use for both Trend Continuation or Trend Reversal
Trend Continuation if the highest time frame was already above the MA then we just need the lower time frames to all close above to get alerted every time all 4 time frames close above the ma for a trend continuation for a long set and vice versa for shorts to all 4 time frame close below

Trend Reversal generally would be waiting on the highest time frame to close last then when all 4 time frames are above for or all below for short be alerted

And every time all time frames are in sync keep getting alerts even if it’s the highest timeframe close or a lower time frame close and not to be waiting for the a entry time frame to close to be alerted at the moment seems to be the timeframe marked entry time timeframe when alerts are given generally the highest time frame in the strategy

Seems that the alerts for long is when the conditions are met for short and vice versa can this be corrected on the signal alert pop up
Thanks
Susan
susan61
 
Posts: 70
Joined: Mon Jan 14, 2019 4:19 pm

Re: Price to close above/below multiple time frames

Postby Apprentice » Sun Jan 05, 2020 11:28 am

Your request is added to the development list.
Development reference 521.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price to close above/below multiple time frames

Postby Apprentice » Mon Jan 06, 2020 8:51 am

This is exactly how it works.
You can use "live" entry mode to get the alert as soon as possible (in the middle of the bar).
Or set the trading timeframe to the highest timeframe if you need to wait for all timeframes to close
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Price to close above/below multiple time frames

Postby susan61 » Mon Jan 06, 2020 10:41 am

Hi Apprentice
Still have the problem of when price has closed below all MA's on all time frames should be giving signal for short and at the moment its giving a buy signal and when price has closed above all MA's on all time frames should be giving signal for long and at moment getting sell signals
Can this be re coded to give correct signal alerts
Thanks
Susan
susan61
 
Posts: 70
Joined: Mon Jan 14, 2019 4:19 pm


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Google [Bot] and 16 guests