Modify existing indicator to adjust time calculation correctly

Job finished

Execution time 2 hours
Feedback from customer
Thanks, got stuck again. Helped me very quickly

Specification

I have an indicator that was written for me but does not do exactly what I need.

I am calculating pivots using open a close times of the markets. For example if the market opens at 1:00 server and closes at 7:00 server the High is the highest time from 1:00 to 7:00 and the low the lowest from 1:00 to 7:00.

The problem I have is this indicator is coded to only calculate the pivots the next day when server time is 00:00:00.

I need it modified so the pivots are calculated as soon and the market closes so for this example once it has the close price at 7:00 + offset server time it gets the new pivots and does not wait for the server time to tick over to 00:00:00

Here is an Image of what it does now so the open and close lines should be drawn after the close. The close close price has an offset of 5mins in the code as well

I need this specifically to work in tester. At the moment I cant get it to work on a 1min chart in tester so could you also have a look at that. I really don't care what it looks like in the end and all I need is buffers so I can test some simple strategies in tester and see the buffers on the screen so I know its doing what I want.

Also there is some code in there to delete all objects on deinit()  I need this changed to only delete objects of the indicator because it deletes all the trades in tester.


 

Responded

1
Developer 1
Rating
(646)
Projects
1294
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
Similar orders
Hi, i have a simple strategy which has 4 different types of entries based on parabolic sar and moving average that I would like to be coded into an EA. I would also like some inputs for it like news filter, time start and time end, risk % and so on. Will discuss further upon application
Hey there, I need to convert an indicator from ninja to mt4 I will attach the ninjatrader indicator script to be converted into mt4 If you can do this kindly bid and let's discuss about the project Thanks
I need a trading indicator that will give 1 minute and 5 minute accurate signals for only EURUSD pair. the indicator is to be used for Binary options so it has to perform exceptionally
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
a.) My current Script can do the Followings, 1.a) Create an index; 1.b) Create a custom configuration chart. b.) What i want is to assemble all indexes and make an average index(Avg Index= index1 + index2 + index3 + ........../ no: of indexes) We will call this average index "APX" c.) Then we will configure another custom charts whereby we will say 1.) APXAUD=APX/AUD Index; 2.) APXCAD=APX/CAD Index; 3.)
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
Create MT5 deriv EA 30 - 35 USD
Hello . Am in need of a developer that can Create deriv EA .I need to create a Deriv Bot with Martingale 1 min candles 30 martingale plus I can change the amount of martigale with the option of 1 min up or down . Kindly bid and let discuss about the project
"Hello, I'm looking for a developer who can connect tradingview signal to cTrader. If you have experience with API integration and are familiar with both cTrader and TradingView, please reach out. This project involves connecting the two platforms to enable detect signals and trigger cTrader . Looking forward to collaborating with someone who can help me with the project Thanks
MT4 TRADE COPIER EA 30 - 35 USD
Hello , how are you doing? Am in need of MT4 developer that can help me to develop trade copier EA for MT4 account Kindly bid for the project if it is what you can do for me thanks
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it

Project information

Budget
30+ USD
For the developer
27 USD