Hello Atheer. I put together an indicator that generates signals pursuant to your rules. The indicator is attached along with a revised copy of SweetSpots. The revised SweetSpots draws the lines on even pip boundaries. i.e. 1.3350, 1.3360, 1.3370, etc. Instead of 1.3352, 1.3362, etc.
The indicator has the following external inputs that require explanation:
1. sublevels is the spacing between SweetSpot lines in PIPS, not points. !0 pips for a H1 chart and 1 pip for a M1 chart.
2. Candle_1_BB_Rule_Enable -- this enables your rule for Bolinger Lines. The first candle must have the upper or lower BB line within its range. Must be a bear candle for the lower BB line and a bull candle for the upper BB line.
3. Candle_1_SS_Rule_Enable -- this enables your rule for a SweetSpot line within the body of Candle 1.
4. Cabdle_2_Rule_Enable -- this enables your Candle 2 rule which requires the 2nd candle to be a bull/bear candle and close above/below Candle 1 open.
The signal appears on the Candle 2 bar, and an alert is available at the close of candle 2, if enabled.
You can enable the three switches one at a time to convince yourself that the logic is correct. When all three are enabled you get signals pursuant to the three rules. The SweetSpot lines are calculated in accordance with the even line boundaries produced by the revised version of SweetSpot which I have attached.
Let me know if you agree that this is working correctly. Looks like a lot more losers than winners.
The indicator has the following external inputs that require explanation:
1. sublevels is the spacing between SweetSpot lines in PIPS, not points. !0 pips for a H1 chart and 1 pip for a M1 chart.
2. Candle_1_BB_Rule_Enable -- this enables your rule for Bolinger Lines. The first candle must have the upper or lower BB line within its range. Must be a bear candle for the lower BB line and a bull candle for the upper BB line.
3. Candle_1_SS_Rule_Enable -- this enables your rule for a SweetSpot line within the body of Candle 1.
4. Cabdle_2_Rule_Enable -- this enables your Candle 2 rule which requires the 2nd candle to be a bull/bear candle and close above/below Candle 1 open.
The signal appears on the Candle 2 bar, and an alert is available at the close of candle 2, if enabled.
You can enable the three switches one at a time to convince yourself that the logic is correct. When all three are enabled you get signals pursuant to the three rules. The SweetSpot lines are calculated in accordance with the even line boundaries produced by the revised version of SweetSpot which I have attached.
Let me know if you agree that this is working correctly. Looks like a lot more losers than winners.
Attached File(s)
###Atheers_Signals.v1.0.ex4
19 KB
|
307 downloads
SweetSpots GOLD.v1.1.ex4
11 KB
|
282 downloads
SweetSpots GOLD.v1.1.mq4
4 KB
|
332 downloads