Dear GCT Trader, How do you make the squeeze indi giving a pink bar when it hit the level?Or it come in a set?My squeeze indi only has a line n have to look for the number.
Open Trade near Pivot line (Pivot Point) 14 replies
5/15 minutes time frame high probability system by Almo 929 replies
Point system to destinguish high or low probability trades? 3 replies
High probability Trading System 2 replies
Pivot point reference point? 7 replies
DislikedDat,
Im not sure about MT4, i havent used that platform before so cant help there. With the indicator, change the type of chart to histogram and that should convert it. Best of luck. Let me know if you get MT4 working, I think that some indicators were posted earlier in this thread for that.
GCTraderIgnored
DislikedIgnored
DislikedI have made up both. One without the pivot point confluence to keep me open to normal breakouts and my bcktest which also signals me to enter and exit which I trade heavily with since it is right more times than not.
GCTraderIgnored
DislikedGCT, when I copy your code (from the second pdf) in the backtest (cmc - same chart package as IG) and enter the optimizing values and click 'validate' I just get an optimizing box saying 0% which doesn't move. What I am doing wrong?
The only things that are giving me trouble: in the variables box I have to set 'no restriction' rather than the default '>0' on the pivot variable as there is a 0 in there; and for some reason my bollnger bandwidth line keeps resetting to 0.006 when I type in 0.0056.
The only thing else on the charts that is dissimilar (apart from no pink squeeze indicator, which would be great) is that when I put 5, 13, 1 into my MACD settings everything disappears in my MACD window except the blue line.
Can you, or anyone else, help with enablement? I suspect I may not be the only person with this issue.
Cheers.Ignored
DislikedHere is the code for the indicator, not backtest and without pivot point confluence.
-----------------------------------------------------------------------------------------
trigger = undefined
rem This is the buy setup which detects when the bollinger bandwidth has made a new low followed by an increase in bandwidth below the trigger line and the MACD is trending up.
if (round((BollingerBandWidth[b](close))*10000)-((BollingerBandWidth[b](close[1]))*10000))>=1 and BollingerBandWidth[b](close[1])<L and round((MACDline[5,13,1](close)))>round((MACDline[5,13,1](close[1]))) then
trigger =1
endif
rem This is the exit setup which detects a turnaround in the MACD histogram. The turnaround threshold is determined by A
if abs((round(MACDline[5,13,1](close[1])))) - abs((round(MACDline[5,13,1](close))))>=A then
trigger = 0
endif
rem This is the short sell setup which detects when the bollinger bandwidth has made a new low followed by an increase in bandwidth below the trigger line and the MACD is trending down.
if (round((BollingerBandWidth[b](close))*10000)-((BollingerBandWidth[b](close[1]))*10000))>=1 and BollingerBandWidth[b](close[1])<L and round((MACDline[5,13,1](close)))<round((MACDline[5,13,1](close[1]))) then
trigger =-1
endif
rem This is the exit setup which detects a turnaround in the MACD histogram. The turnaround threshold is determined by A
if abs((round(MACDline[5,13,1](close[1])))) - abs((round(MACDline[5,13,1](close)))) >= A then
trigger = 0
endif
return trigger
-------------------------------------------------------------------------------
L is the trigger level
B is the bollinger bandwidth
A is the MACD thresholdIgnored
DislikedIt stays at 0% because there is way to much to optimize, you have to experiment yourself. Use the code in the previous post for the pink bars, just change the indicator to histogram.
With the MACD, change the signal part of the indicator to a histogram also.
When it says it is 0.006 in the trigger level dont believe it, I get the same thing but it is infact 0.0056.
Let me know if you need more clarification.
GCTraderIgnored
DislikedGCTrader, cheers for that. Two problems down, one and a half to go. I created an indicator with the code you have just posted. I wrote the three values A = 6.2 and B = 18 and L = 0.0056 firstly above the code, and then in the alternative I tried adding them in the indicator perameter box (float, as integer won't allow decimal places). In both cases it did create an indicator (hallelujah!!!) but nary a pink bar (short) nor a blue bar (long) stirred on the new Squeeze indicator on my chart. I would have guessed that this means there hasn't been a trade today but I applied the new indicator across a number of charts and there is nothing on any of them.
Without wanting to get ahead of myself here, assuming this indicator can be made to work so that those lovely pink and blue bars do eventually pop up, is there any possibility after that point of adding into the indicator the requisite code to take account of your pivot filter?
Thanks a lot for the help so far. Your time is really appreciated.Ignored
DislikedGuess, I wish it were that simple! I just tried changing the colours (they should have been showing up anyway) and that didn't work. What exactly did you do, step by step, to get the indicator working? Is there something else on my chart outside the squeeze indicator, that needs to be there for the squeeze indicator bars to work?Ignored
DislikedI just created the indicator and applied the code and settings and bang it worked!Ignored
DislikedAnd there we have the move, its nearing the R1 line so staging out is probably a good idea with half a lot.
http://img464.imageshack.us/img464/2...urjpy10gj3.pngIgnored
DislikedI just created the indicator and applied the code and settings and bang it worked!Ignored