1 (edited by GD 2016-06-03 03:14:45)

Topic: Pivot Points and Bar Closing. Please help

What changes to do in css amd mql4 code of Pivot Points indicator in order to use it with Bar Closing indicator?

Re: Pivot Points and Bar Closing. Please help

Please attach the XML

3 (edited by GD 2016-06-03 09:21:27)

Re: Pivot Points and Bar Closing. Please help

It is unrelative.

The question is very specific.

Re: Pivot Points and Bar Closing. Please help

you mean to use the pivotpoint as entry or exit logics not points !!!!

5 (edited by GD 2016-06-03 15:32:31)

Re: Pivot Points and Bar Closing. Please help

I mean in order to use
=================
BAR CLOSING
PIVOT POINTS indi
===============

AGAINST only
=================
PIVOT POINTS indi
===================

Re: Pivot Points and Bar Closing. Please help

I think he needs coding for a reply, based on his first post.

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

Re: Pivot Points and Bar Closing. Please help

Blaiserboy wrote:

I think he needs coding for a reply, based on his first post.

to have a bar close or week close in a strategy so the other indicator hase to be a close logic
and iam working on pivot point right now to be used in the four slots
PossibleSlots = SlotTypes.Open | SlotTypes.OpenFilter | SlotTypes.Close | SlotTypes.CloseFilter;

please give me a day or two to finish it

8 (edited by GD 2016-06-04 12:32:43)

Re: Pivot Points and Bar Closing. Please help

Exaclty. So, I give you more...

It is nice to have a working example on that.
So we can compare and understand the differences between them.

It could be nice to have ofcourse and the MQL4 files.

Thanks a lot, but I think that also everybody will appreciate your contribution

Re: Pivot Points and Bar Closing. Please help

GD wrote:

Exaclty. So, I give you more...

It is nice to have a working example on that.
So we can compare and understand the differences between them.

It could be nice to have ofcourse and the MQL4 files.

Thanks a lot, but I think that also everybody will appreciate your contribution

http://forexsb.com/forum/post/36448/#p36448

10 (edited by GD 2016-06-05 13:39:31)

Re: Pivot Points and Bar Closing. Please help

Thanks a lot

I will test it

Can you update and MQL4 Code please?

Re: Pivot Points and Bar Closing. Please help

GD wrote:

Thanks a lot

I will test it

Can you update and MQL4 Code please?

i donot know mql4 but i think it is easy for popov or footon to do it

just test it and let me know

12

Re: Pivot Points and Bar Closing. Please help

ok.

13 (edited by GD 2016-06-06 09:20:57)

Re: Pivot Points and Bar Closing. Please help

Hi Ahmed
                 
1> I did all combinations for bar opening (plus standard set of indi) and Pivot points (1 day and bar) for exit.
        I did also  bar opening  (plus standard set of indi) and Pivot Multi (1 day and bar) for exit
No PROBLEM. Everything is same. So compatibility exists at the basic. I checked also different TFs for both in 1 bar.

The only PROBLEM is that the VERTICAL shift parameter is MISSING to your indi.

* In Popov's code I cannot find  the maximum and minimum value of parameter Signal shift.
In yours looks to be until 3 but it goes until 200.



2> I did combinations for bar opening and (Bar Closing and Pivot Multi) for exit.
      Of course there are differences as it is expected.

3> There is a good thing in this situation. To use BAR CLOSING (plus standard set of indi) and (bar closing + PivotMulti) for exit. In this case we can create some indicators for protection we asked Mr. Popov Long time ago. in combination with others!

I think if you fix the Vertical Shift parameter and Footon or Popov will be happy to help with MQL4 code, then we can create many things our selves for protection until Popov will decide next step.

Thanks a lot

Re: Pivot Points and Bar Closing. Please help

http://forexsb.com/forum/post/36531/#p36531

updated

15 (edited by GD 2016-06-08 04:33:13)

Re: Pivot Points and Bar Closing. Please help

Hi Ahmed

Thanks for your effort again

Vertical Shift is not sensitive in the following cases BOTH ONE BAR (left) and ONE DAY (right)

Signal shift and Signal Repeat are NOT sensitive to ONE BAR

Signal shift and Signal Repeat are sensitive to ONE DAY

The rest looks fine.

Please check your updated code again.

http://s32.postimg.org/bg8ef201t/2016_06_08_12_18_46.jpg

Re: Pivot Points and Bar Closing. Please help

GD wrote:

Hi Ahmed

Thanks for your effort again

Vertical Shift is not sensitive in the following cases BOTH ONE BAR (left) and ONE DAY (right)

Signal shift and Signal Repeat are NOT sensitive to ONE BAR

Signal shift and Signal Repeat are sensitive to ONE DAY

The rest looks fine.

Please check your updated code again.

http://s32.postimg.org/bg8ef201t/2016_06_08_12_18_46.jpg


please test the indicator as open point and test the shift function is it work fine !!!!!!

17

Re: Pivot Points and Bar Closing. Please help

For sure
Vertical Shift even in this case does not work

Signal Shift and Signal Repeat still are not sensitive.

18 (edited by ahmedalhoseny 2016-06-08 16:59:01)

Re: Pivot Points and Bar Closing. Please help

work with it now without shift function until i find the problem

change the true ........> false

// The NumericUpDown parameters
            IndParam.NumParam[0].Caption = "Vertical shift";
            IndParam.NumParam[0].Value = 0;
            IndParam.NumParam[0].Max = +2000;
            IndParam.NumParam[0].Min = -2000;
            IndParam.NumParam[0].Enabled = false;
            IndParam.NumParam[0].ToolTip = "A vertical shift above the Resistance and below the Support levels.";

Re: Pivot Points and Bar Closing. Please help

Ahmed, can I give you a tip?

Remove shift from open and close slot cases starting at line 331.

Add shift to calculation block from line 243.

From this

Component[7].Value[iBar] = adR3[iBar - prvs] + dShift;

To this

Component[7].Value[iBar] = adR3[iBar - prvs];

And from this

adPp[iBar] = (adH[iBar] + adL[iBar] + adC[iBar]) / 3;

To this

adPp[iBar] = ((adH[iBar] + adL[iBar] + adC[iBar]) / 3) + dShift;

Re: Pivot Points and Bar Closing. Please help

About signal shift and repeat - it does not concern the indi, those named are FSB functions.

Re: Pivot Points and Bar Closing. Please help

footon wrote:

Ahmed, can I give you a tip?

Remove shift from open and close slot cases starting at line 331.

Add shift to calculation block from line 243.

From this

Component[7].Value[iBar] = adR3[iBar - prvs] + dShift;

To this

Component[7].Value[iBar] = adR3[iBar - prvs];

And from this

adPp[iBar] = (adH[iBar] + adL[iBar] + adC[iBar]) / 3;

To this

adPp[iBar] = ((adH[iBar] + adL[iBar] + adC[iBar]) / 3) + dShift;

hello footon
the shift function is the same in the original indicator it suppose to work fine !!!! but it didnot

another point the + or - shift work as a mirror image for support and resistance levels but how it will work with the central pivot line ( in the calculation block !!!!)

the last point i did like what you advised but also not worked !!!

22

Re: Pivot Points and Bar Closing. Please help

About shift maybe only + value for both can be used for any case