Help finding or building an indicator

Dec 31, 2017 at 15:27
521 Views
8 Replies
Member Since Oct 01, 2017   4 posts
Dec 31, 2017 at 15:27
Hi,

I'm looking for an indicator or ea that looks back at a certain amount of candles for a candle with a total pip size of less then a certain number(say 30pips)+a certain number of pips on the h&L
Example,
Looks back 4 candles and finds 3 candles within the range of the forth candle's total size of 28pips+15pips on the H&L then places sell and buy pending orders at the 15p with a TP of say 10 pips?

ps Im new to this so if my terminology sucks thats why

Attachments:

Always get back up
Member Since Aug 24, 2016   15 posts
Jan 03, 2018 at 08:10
Does the mother candle should should have 25 pip diff between the H&L or on the Open and Close?
Member Since Aug 24, 2016   15 posts
Jan 03, 2018 at 08:11
My first attempt

Attachments:

Member Since Aug 24, 2016   15 posts
Jan 03, 2018 at 13:16
2nd attempt with Breakeven
Include a .set file that is profitable on BT over 10 year span

Attachments:

Member Since Oct 01, 2017   4 posts
Jan 04, 2018 at 07:28
open and close. so the total size of the candle should be less then a certain number. awesome ill give it a test now
Always get back up
Member Since Oct 01, 2017   4 posts
Jan 04, 2018 at 07:29
do you know the code to make the EA only to check price at candle close not ever tick?
Always get back up
Member Since Oct 01, 2017   4 posts
Jan 04, 2018 at 07:31
fxwisdom1 posted:
2nd attempt with Breakeven
Include a .set file that is profitable on BT over 10 year span

awesome what currency pair
Always get back up
Member Since Aug 24, 2016   15 posts
Jan 04, 2018 at 07:32
fix to the bar range calculation.
In the old file it was high-close
now it's changed to high-low

Also provided a nice backtest result


Attachments:

Member Since Aug 24, 2016   15 posts
Jan 04, 2018 at 08:14
latest update.
I just fix the lot size to double instead integer.

Attachments:

Sign In / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.