작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
I need an indicator which can show non repaint arrow based on selected time and candle type. For example if we are working on M1 time frame and we select time 07:58:00 so the indicator will start to check right at the start of this M1 candle. Indicator will have the option to select time frames from M1 , M5, M15, M30, and H1 so i can select the candle time from drop down. M1, M5, M15, M30 can be any part of an hour, H1 will be obviously the start hourly candle. Indicator will work on binary rules of expiry and will show win %.
Repeat Option : there will be repeat option in indicator menu from number 1 to 15 , which means indicator will check the same time candle on next hour and continue to do for selected number of times every hour.
Candle Type: There will be 5 options selection for candle type to show arrow .
1: intra bar and next bar : For sell for M1 candle indi will check Last 15 seconds of the candle and if the price is higher than previous candle it will show arrow right away, if price moves further up arrow will also move up, at the start of next candle indi will again show arrow at the top of that candle , both arrows will have expiry of 60 seconds.
for 5M candle indi will check 5th minute, for m15 candle indi will check last 3 minutes, for m30 candle it will check last 6 minutes and for H1 it will check last 10 minutes.
for M1 expiry is 1 minute , for m5 expiry is 5 minutes and so on.
2:High Low Close : for buy if the current candle breaks the low of previous candle and closes as bull candle indicator will show buy arrow at the start of next candle ( close price higher than open.) For sell if the current candle breaks the high of previous candle but closes as bear. (close price lower than open).
3: Close near open : for sell arrow if the current candle is bull but closes near to its open price , i should be able to select how many points (5 digit broker ) the candle closes near to its open . For buy its bear candle but closes given number of points to its open. close price from open should be less than given number of points.
4 : Close Near Top : for sell arrow current candle is bull but closes less then given number of points from its high.
for buy current candle is bear but closes less then given number of point from its low. I should be able to select number points.
5 : Any : indicator will show buy/sell arrow if any of the above conditions meet.
Stats Panel : As the indicator will repeat the candle check every hour same time it will show stats for each hour from every day. Say for M1 it starts from 06:55:00 it will check again next hour at 07:55:00 and repeat for next 10 hours, So indicator will show stats for each hour from every day, as below
time frame M1
time : 06:59:00 total signals : win signals : loss signals win%
time : 05:59:00 total signals : win signals : loss signals win%
and so on.
Same method will be used if i select any other time frame say m5 , 15 etc.
Lock/Expiry option : In mql4 source file there will be code line to add expiry date so indi will expire at given date.