The Only Pivot - page 48

 
schoe:
No Problem Steven, I like this method and if the EA is sorted out I will go live with it very soon.

I see Massa has provided the Code but he is now on vacation.

ARE THERE ANY OTHER PROGRAMMERS WHO COULD HAVE A LOOK AT THE EA AND ENSURE IT IS PROGRAMMED CORRECTLY AS IT HAS JUST OPENED A BUY INSTEAD OF A SELL.

Many thanks in advance. ........

Hi schoe

I can't find the bugs you mentioned. but Now I up new Onlypivot(Rev1), with some alterations.

masa9390

Files:
 
et_phonehome_2:
masa9390

You are checking the 1HR TF, can you modify it to allow one to specify any timeframe? It will give one more flexibility to test on a TF which may be more suitable.

Determing whether the pair is range bound or trending is somewhat hard, but maybe you want to add the following:

(1) check ADX along with DI-/DI+ for a value specifiable via input parameters.

(2) or use a simple moving average

Hi. et_phonehome_2

Sorry, it hard to modify to allow any TF immediately.

I study your suggestion. Tnx.

masa9390

 

I have a good idea for this EA,

This involves a MM twist.

Simply,

If we get a buy signal buy 1 lot, if its profitable fine, if a sell signal then follows then sell short 2 lots that way we are 1L Net Short and make profit equal to loss between the two entries X 2, if another buy signal is generated before hitting target then buy 3 and like this.

If anyone has questions about this please ask, I will try to see if I can code this, otherwise if someone would like to demonstrate his MQL4 skills you are welcome

 

since we talk here about EA...

we can see, GBPJPY, EURJPY, GBPUSD gave to us about 1000 pips!!!

 
activetc:
I have a good idea for this EA,

This involves a MM twist.

Simply,

If we get a buy signal buy 1 lot, if its profitable fine, if a sell signal then follows then sell short 2 lots that way we are 1L Net Short and make profit equal to loss between the two entries X 2, if another buy signal is generated before hitting target then buy 3 and like this.

If anyone has questions about this please ask, I will try to see if I can code this, otherwise if someone would like to demonstrate his MQL4 skills you are welcome

yes it's good idea, it's HEDGE with more LOTS style

 
ashrafnajo:
Thank you steven for your comment>

and for this twodays.... you gotta pips again??

 
masa9390:
Now I back.

I make two EAs, as following

>4. 1 position should grap pips by using tp 50pips at GBPJPY and EURJPY

--> OnlyPivot_A_Rev1.mq4

>5. 1 position using trailing stops about 50 pips.

--> OnlyPivot_B_Rev1.mq4

>3. 1 position follow cut and reverse style

(--> This is same as the first EA,that i made.)

By backtest,Both EA shows a good performance in this month.

But these are unsuitable for a long term.

We have to be decided. trend or range, before entry.

hi massa9390, glad to see you here

does OnlyPivot_A_Rev1.mq4 will open 3 position at a time? like i suggested?

btw thx for your hard work

 

hi masa9390

i tried visual bactest your A version

i got so many signal for long or short but EA didn't entry....

can you tell us why?

 

Yes i do

Hi steven

Yes i have pips for today.

your system is amiazing.

thank you for asking

 
masa9390:
Hi schoe

I can't find the bugs you mentioned. but Now I up new Onlypivot(Rev1), with some alterations.

masa9390

Hi Masa. There were no bugs it was a whipsaw problem and it corrected itself.

Some more suggestions to improve the system

To prevent whipsawing make the pivot 5 or an imputtable number of pivots wide?

The buys and sells the EA makes are sometimes a long way away from the pivot due to the MA Lagging.

A condition to only buy or sell if price is an imputtable number of pips away from the pivot would prevent this.

I still think stop to break even has a lot of merits you will get stopped out but it will stop you incurring unnecessary losses when the market changes direction?

Many thanks Schoe.

Reason: