Hi,
Made a few enquiries but not made much headway with this.
Attached indicator is one I like a lot but since changing brokers it gives me a problem, it uses sunday data to calculate monday pivots so my monday pivots are knackered as such small amount of trade on sunday.
I've seen pivot indis to remove monday data but not historical ones like this one is.
I had a go at modifying it myself using the no monday indicator attached but its screwed up. Can someone tell me what I have done wrong to the code, or point me in the right direction pls.
Note, you won't be able to replicate the problem unless your broker uses sunday data, I think most retail brokers start monday at 00.00 so problem doesn't occur.
thanks
Kev
P.s I like all_pivots because it shows historical, the ones with the mod are daily (no history) but I was using them to try and work out the proper code to use.
Made a few enquiries but not made much headway with this.
Attached indicator is one I like a lot but since changing brokers it gives me a problem, it uses sunday data to calculate monday pivots so my monday pivots are knackered as such small amount of trade on sunday.
I've seen pivot indis to remove monday data but not historical ones like this one is.
I had a go at modifying it myself using the no monday indicator attached but its screwed up. Can someone tell me what I have done wrong to the code, or point me in the right direction pls.
Note, you won't be able to replicate the problem unless your broker uses sunday data, I think most retail brokers start monday at 00.00 so problem doesn't occur.
thanks
Kev
P.s I like all_pivots because it shows historical, the ones with the mod are daily (no history) but I was using them to try and work out the proper code to use.
Attached File(s)
AllPivots_v1.mq4
5 KB
|
239 downloads
Pivot_Monday Fixed.mq4
5 KB
|
243 downloads
Auto_Pivot_mod-w-sunday-out.mq4
20 KB
|
210 downloads