
brief description about the course sections ,with some important advises ,,it is better that you after finishing my course to re code the same indicator flowing the same steps that you will learn , and don't use it for trading tell you find your own way with it
A saturation area is region on chart that contains to many orders of a specific type (sell's or buy's),if most of them are sell you will see the price keep down and down till it is became bouncing then when traders began to close them or start buying the price starts to revers it's direction upward and vise versa.the best built in indicator to monitor this situation as i guess is the bolinger band so we will use this indicator to built our custom indicator using tow bolingers high and low lines .so when the price go upper than the upper lines of the 2 bolingers it is considered to be inside saturation buys orders her we will put our sell orders
each bolinger has a middle line it is just a moving average line with the same parameters of that bolinger actually bolinger's upper line is the result of math equation of moving average indicator and standard deviation indicator .
we will use the 2 moving averages to draw the tow histograms in red and yellow colors when the fast moving go's higher than the slow one that is mean the price in up trending state ,while when the fast moving go's lower than the slow one then the price trending down state it is a good indication when there is a triggered signals with it specially when there is yellow arrows with yellow histogram it is a great chance to go short trading and vise versa.
then we will use section line between all the signals it is a useful line for traders when it crosses the tow indicators line or when it is going horizontally for 3 signals
in this lecture you will learn the main differences between indicators .
there are 3 type of indicator's
1- buffer 2- monitoring 3- special task i will choose the buffer's one as a sample because the main goal for this course is to learn buffer's importance in indicator's coding
in buffers indicator type we must define 8 parameters and extra one for arrow style type that is 9 parameters not all these parameters defined in one place of our code so you must focus in this lecture to know exactly the place and these 9 parameters that will ease the coding section understanding
in this lecture i will describe in some details most of the commonly used data type ,i will leave the complicated to understand types i think these are too enough for most strategies
in this lecture you will find all the commands that we will use in our project ,even in your future project these commands covers 90% of necessary use .you may in need of more prob's for property or resource or object creates commands ,it is difficult to declare all these prob's in this lecture so you must do some further efforts for that
It is important to understand each section of the wizard ,the property section importance is to save your copy rights and to give the buyers the way to contact you via the link that you put in ,add a stamp on .exe file to restrict the property for you ,to count the buffers that will be used inside your indicator , to choose the indicator window's type ..
in OnInt section you will define the drawing parameters for each buffer like type ,width,empty value ,colors ..
in iteration section you will put your math equation to give the buffer your conditions to filled with data
in this lecture we will use a simple function as a main body of our indicator .start() .it is of integer type ... we will do that because the default function OnCalculate() define an arrays that already exist as a commands in mql4 and I want the code to be as simple as i can
we will learn too the prevention of recalculating all candles parameters each tick so our indicator will not be so heavy and loaded to accomplish that we will use
(indicator counted )-- this command will give us the total number of counted bar by the indicator algorithm
(Bars)-- this command will give us the total number of candles on chart
if we subtract the counted candles from the total candles the result uncounted candles only ,,,we will use it as a maximum limit on FOR looping ,,,by this way we will prevent recalculation each tick
in this lecture we will learn how to draw the upperline and lower line and fixing some error
in this lecture we will learn how to draw selling arrow when the price go over the upper line buffer and how set the parameters of this arrow like width and color and how to use the wingding table to choose the appropriate arrow shape for your wish ....
in this lecture we will repeat the steps of drawing sell arrow to draw the buy arrow and to give attention to the importance of the index buffer number when setting any parameters the student will know this and how to choose the wingding number
histograms is a great way to identify the trend ,when drawing these histograms we needs at least one buffer to start the drawing ,it will ends at the nearest another buffer or level if (on separate window indicator type ) . we will use tow moving averages fast and slow as a start and end histo buffers but with the same period of bolinger bands periods so as to stay inside the external lines limits but you could choose different periods ,,,,,when trading you could inter a trades that in direction of these histograms
in this lecture you will learn how to draw a section line it is the last buffer we will use in pappye indicator by which we covers all type of buffers coding that you will use in your future coding projects
as you see it is repeated steps for each buffer ...
in this lecture we will learn why it is important to set colors and width using property colors and property width instead of using set index style command and what happence if we forget to set any color
in this lecture we will learn how to add the external variables to our main indicator windows ,external variable can be changed only in manual by user ,no internal function will effect its value these variables only can be called by expert adviser or sicrypt besides the buffers and we could optimize the indicator s parameters by putting these variables inside the expert then make the optimizing process .
also we will learn the effect of empty and empty - value on section buffer and the effect of wrong color number or the effect of missing property - color on our indicator and how to fix it
in this lecture you will learn how to use the property -ico to create a small icon on the main window of the indicator and how to put the icon path in right way .ICON is important to give your indicator a unique stamp by which you find it if somebody stole it ,then he put it in any market.
then we will start coding the pappye anime ,you will see where to put the bitmap images and how to use the #resource command to transform these pictures in to .exe file that can be used by any buyer without the need of these pictures again
in this lecture we will learn to put the audio file inside the files folder instead of sound folder because files inside sound folder can't be transformed to .exe file
also we will learn what is void function and how to use the object create function and it's too many prob's
void function is that type will never return any value to it's handler even you could never put the return () command at the end or any place inside this function i use it just to teach you how to add an extra function to your code and how to call these function inside any other function
object create () function used to draw too many thing on chart like trend lines or triangles or circles ..ext .it also contain's too many prob's like x and y distance or background or anchor point or colors
as an example i will use x distance and background and path to file prob's
controlling alert's is a big problem for coders when the signal keep continued each tick ,by using 2 counters of global scope type we could prevent this continuation with the support of Volume [0] tick counter ,for each candle when there is alert it will repeated 2 times only until new candle formed .
and by using 16 tick we will animates the 5 .bmp pictures 3 ticks for each one then it will be deleted to be replaced by another one .
in this lecture we will continue drawing the pappye anime alert then we will see the result of moved pappye the idea behind this movement is to draw each one of the 5 image for short period of ticks 2-3 ticks then delete it to draw the fallowing image .to do that we will put the image creation prob's inside a ( if () {} else {} ) statement
in this lecture we will complete the anime final steps and learn how to control the repeating alert and putting some extra external control for some parameters
this is the final coding lecture we hav learned the importancy of buffers and how to draw each type and how to draw objects ...
the last thing to know is how to comment any function or variable on chart to give the user a usefule information we will use the
Comment("string sentences " , command to show );
then we will learn how to make a visual test for the indicator using the strategy tester to see the working of our indicator
mql5 web site give's amazing protections for your products when publish on it they charges 20% from your selling profits but it worth's because decompiler nothing stop them but mql5 protection. the problem is this market is overloaded with products so your product must be very propositional and of strong strategy and give a unique proves of wining to sell it successfully .
you must sin up on this site as a member and as a seller by identify your self using identity passport and mobile phone they pay you via pay-pal and web-money and e-payment processors and they are so honest also you could sell your indicator signals or even rent you computer for them...
in this lecture you will learn how validate your product how to upload screenshots how to prepaire these shoots using paint program that built in your windows
in this lecture we will complete adding screen shoots and will learn how to make and upload a nice logo both for web page and for mt4 market tab ...
logo is a small picture that will appear on mql5 market web page and the mini logo is smaller picture will appear on mt4 market tab you could find your product or buy any product directly from your mt4 terminal tab but you must sign in to your mql5 account through your terminal.....
her we will add the GIF screen shoots you could create these gif's by take a short video (2~5 )seconds period then convert it 's extension to GIF by online converters you could find more than one just google it , also we will learn how to edit or upload a new version of the indicator using the edit option any time even after publishing the indicator .also we will see how to publish the indicator and where to find it in market and how it look's after that ,what options we have to withdraw the profit 's
so as to sell your indicator for any other person you must first add some protection ,it must be of ,exe file so as not to be readable by the buyer then you must send him a demo or trial version bounded by time and his account number so as to work only for him over a some time then deactivated totally then if he decided to buy it and send you the price you give him the complete copy bounded only by his account number all these setting will not give your product the total protection but it give's high level only . that is why we sell on mql5 market they give such a protection by adding anti de compilation technic
if you have a profitable strategy that you tried for along time with success ,and you are hesitated weather to give it to another coder or not ,he might stole it!!! ,,then why you don't cod it by your self it is not that difficult task, her where you will learn coding in very fast way ,but as a custom indicator,then you will learn how to sell it