safesimpleprofits from MT4

#1
Hi friends

can somebody comment about this system chart?
It seems that
1) hourly bar chart is used
2)zig zag is used
3)looks like ZIG ZAG VALID ENTRY concept is applied to get valid entry points
4)the lower pane seemingly uses MACD like thing plotted with signal line
on a histogram(histogram uses absolute values)

Actually the lower pane seems to plot something like waddah akhtar explosion sort of thing from mt4 stable. of course waddah akhtar explosion has base levels and explosion levels
HERE IS A SMALL AFL TO BEGIN WITH FOR LOWER PANE.(yet to be perfected by xperts)

HTML:
_SECTION_BEGIN("MACD waddah like");
SetChartBkColor(64);
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
 ml = MACD(r1, r2);
 sl = Signal(r1,r2,r3);

MYPLOT2 =IIf(abs(ml-sl)>0,colorGreen,colorRed);
Plot(abs( ml-sl), "MACD Histogram" , MYPLOT2 ,styleHistogram );
//Plot(abs(sl) ,"ABSSIGNAL",colorRed,styleThick);
Plot(abs(ml) ,"ABS MACD",colorLightBlue,styleThick);
Plot(0 ,"ZERO",colorAqua,styleThick);
waiting for comments
best regards
ford


 
Last edited:

sr114

Well-Known Member
#5
Is this change for Amibroker afl or MT4?

If changed what result will be plotted?
.

this id for amibroker.
earlier in the dode u r taking the absolute val - so the value will never be less than zero

when we take the revised code - the actual values will be taken

rgds
subroto
 
#6
Hi friends
First thing
I have no idea about MT4 coding.

Second thing
I was not aiming for a regular macd histogram at all.

here comes the code what I was trying to post

HTML:
_SECTION_BEGIN("MACD histo explosion ");
SetChartBkColor(64);
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
 ml = MACD(r1, r2);
 sl = Signal(r1,r2,r3);

Histocolor = IIf((MACD(r1, r2)-Signal(r1,r2,r3))>0,colorBrightGreen,IIf((Signal(r1,r2,r3)-MACD(r1, r2))>0,colorRed,colorGrey50));
Plot(abs( ml-sl), "MACD Histogram",  Histocolor, styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleNoLabel) );

MAHIST34 = MA((ml-sl),34);


Plot(abs(MAHIST34),"abs-MAHIST34",colorOrange,styleThick);



Plot(0 ,"ZERO",colorAqua,styleThick);
//============================

See the two images





second one

 

sr114

Well-Known Member
#8
Hi ford..
What is the upper pane indicator? could u please publish the afl for the upper pane indicator?
Bewinner

search in wisestocktraer - indicator pastie - alt zig by Ed and u can get that above mentioned afl - may be u have to tweak a little to get that screen shots

1. http://wisestocktrader.com/indicatorpasties/351-alternative-zig-type-function-modified-for-ver-5-52

2,http://wisestocktrader.com/indicatorpasties/352-alternative-zig-type-function-some-additions

3.http://wisestocktrader.com/indicatorpasties/354-alternative-zig-type-function-fibs-added


rgds
subroto
 
#9
Hi subrotojee
Thank you for posting very useful links.

I have two serious doubts -points to get your views on

1.ZIg ZAG looks into future and cannot be readily applied in trading.The reason being the low or high the zig points are dynamic and wont stay steady and they keep changing or even disappearing.
2.A trader needs only valid entry or exit and the validation is more so must while using ZIGZAG IN trading system.

Can you please say
1)If the three afl codes you pointed have any validation of entry based on zigzag?
2)suppose if a bar replay is run,would the entries stand or fail?

BEST REGARDS
ford
 

Similar threads