- Search Metals Mine
- 1,205 Results (1,204 Replies, 1 Comments)
-
BlueRain replied Apr 26, 2020Close[pos+1]-iOpen(Symbol(),PERIOD_D1,))/iOpen(Symbol(),PERIOD_D1,0)) First, you are missing which bar in here. iOpen(Symbol(),PERIOD_D1,)) Next, if you want to have specific time frame, use iOpen(), currently, you are just picking up current chart ...
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 26, 2020You are checking 2 bars from current and it should be just 2, not -2. Current Bar is 0, and it goes from Right to left... older the bar, larger the number. Just fix those numbers in all referenced.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 26, 2020I think you should use AccountEquity(), Not AccountBalance(). It seems Nrixs want to close all position when equity is below certain amount to protect account. if ( AccountEquity() < AccountBalance()-LossAmount) CloseAll()
I need help with a line of code
-
BlueRain replied Apr 26, 2020Classic missed by 1 - which is out of array. More likely, your loop is counting too many and went over by 1. Check if there is actually pairs[i] - more likely, you counted too many. Print out what is Pair[I] and make sure actually there is value.
Need help with 'array out of range'
-
BlueRain replied Apr 26, 2020Why don't you print what value this current_bar_index variable has. More likely, it has -1. which will cause error. iHighest - returns "The shift of the maximum value over a specific number of bars or -1 if error."
Need help with 'array out of range'
-
BlueRain replied Apr 24, 2020Just search web with "MT4 Read CSV" and you will hit a lot of examples. one of hit I got was url where you can find complete solution on how to read and process csv. Regarding OBJ_VLINE and OBJ_TREND, it is well documented in mql5 site with sample ...
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 24, 2020you can commented out or delete this section on both buy and sell setion. /* if(openpos()>0) { …. } */ This is basically if there is any open orders, close it.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020You have to delete this lines from indicator. ObjectsDeleteAll(0,OBJ_RECTANGLE); ObjectsDeleteAll(0,OBJ_TRENDBYANGLE); ObjectsDeleteAll(0,OBJ_TEXT); this will delete all RECTANGLE whenever you change time frame.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020It is called "MiniChart" and there are few available on the web. some are free and some are paid. For free, which opens on the separate window, many are available. Just search "MiniChart MT4" For paid, url - this one is similar to your search.
Timeframe inside current timeframe - is that possible?
-
BlueRain replied Apr 23, 2020Not possible as it is .ex4 file.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020Changed to Horizontal on the bottom - but, it may hide some chart elements. You can select Vertical or Horizontal from Options window.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020this section doesn't have order place. it is just counting current order. You will need to modify some section where it has OrderSend()
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020I copied alerts from previous 123pattern and it should have same alerts option now.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 23, 2020Hi, Classy It is already vertical and has few option for display - SCALE,GRADIENT,HEATMAP.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020You may find attached script works for you. This will delete all pending orders without any popup window.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020Can you remove your indicator from chart and reload? Only change I did was this line, removing conditons from last one. Rng = MathAbs( Close[waveChangeBar] - Close[i])/Poin; I am attaching file and pic to show you exact pair and TF. if this still ...
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020First, you might want to check if this for loop is even working. I did quick check and nIndex is always 0 or 1. Due to this, this loop is never executed which in turn you won't get any value stored to dOBV_vals array. So, if I do Print("MA value is ...
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020OMG - He ignores one of best contributor in this FF. He doesn't deserve to be answered.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020Not sure why it hungs.. try this one which I found some time ago. I think this is improved version of 123 pattern with push alert.
I will code your EAs and Indicators for no charge
-
BlueRain replied Apr 22, 2020Can you explain what you are trying to show? I don't see any previous ref about this strategy.
I will code your EAs and Indicators for no charge