
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
dear mladen, weiswave3c.mq4 ..this indicator catches the closes of fractals.. I want it to catch the highest highs and lowest lows of fractal points...
rashme
I am not sure that I understand the question, but the indicator already catches highest high and lowest lows of the price (see line 123 of that code for additional information)
rashme
I am not sure that I understand the question, but the indicator already catches highest high and lowest lows of the price (see line 123 of that code for additional information)it catches the highest and lowest "closes" ..what I need is to simply catch highest and lowest prices (not the closing price) in every fractal....
it catches the highest and lowest "closes" ..what I need is to simply catch highest and lowest prices (not the closing price) in every fractal....
I still do not understand. Sorry
It does not use fractals, it checks for highest and lowest price
I still do not understand. Sorry
It does not use fractals, it checks for highest and lowest pricein these 2 pictures u can see the zigzag catching different points (I mean high points in first pic and closing price points in second pic)...I want it to catch like how it is in 'first one''
in these 2 pictures u can see the zigzag catching different points (I mean high points in first pic and closing price points in second pic)...I want it to catch like how it is in 'first one''
Change lines 165 to 168 from this
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], close[waveChangeBar], time, close);
[/CODE]
to this :
[CODE] if (waveDirection[waveChangeBar] == 1)
ObjectSet(waveID, OBJPROP_PRICE2, high[waveChangeBar]);
else ObjectSet(waveID, OBJPROP_PRICE2, low[waveChangeBar]);
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
if (waveDirection == 1)
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], low[waveChangeBar], time, high);
else ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], high[waveChangeBar], time, low);Change lines 165 to 168 from this
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], close[waveChangeBar], time, close);
[/CODE]
to this :
[CODE] if (waveDirection[waveChangeBar] == 1)
ObjectSet(waveID, OBJPROP_PRICE2, high[waveChangeBar]);
else ObjectSet(waveID, OBJPROP_PRICE2, low[waveChangeBar]);
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
if (waveDirection == 1)
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], low[waveChangeBar], time, high);
else ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], high[waveChangeBar], time, low);thank u very much mladen...
deleted.. multiple post
Change lines 165 to 168 from this
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], close[waveChangeBar], time, close);
[/CODE]
to this :
[CODE] if (waveDirection[waveChangeBar] == 1)
ObjectSet(waveID, OBJPROP_PRICE2, high[waveChangeBar]);
else ObjectSet(waveID, OBJPROP_PRICE2, low[waveChangeBar]);
ObjectSet(waveID, OBJPROP_TIME2, time[waveChangeBar]);
waveID = "ED8847DC-" + TimeToString(time[waveChangeBar], TIME_DATE|TIME_MINUTES) + "-TL";
if (waveDirection == 1)
ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], low[waveChangeBar], time, high);
else ObjectCreate(0, waveID, OBJ_TREND, 0, time[waveChangeBar], high[waveChangeBar], time, low);at some places it is not catching the high or low points.. can that be rectified..?
at some places it is not catching the high or low points.. can that be rectified..?
rashme
It is catching the exact bar where the trend change happens and exact high and low are used for that bar
Bare in mind that that indicator is not zigzag and should not be treated like zigzag
rashme
It is catching the exact bar where the trend change happens and exact high and low are used for that bar
Bare in mind that that indicator is not zigzag and should not be treated like zigzagthank u very much mladen for clarifying..