MJ Indicators Help Info
|
$$$ NOTE $$$: If you post the indicator somewhere or mail it to a friend: please include also the info file so that they may benefit from it too. THANKS
Is a CHART indicator which calculates and plots Day Price Projections a bit similar to ATR (Average True Range) but has 2 methods (each slightly different) of calculations of the DPP.
Suggested main usage: to have a Price Range Projection for intra-day trading: Mainly a helper tool for deciding if a New Trade Entry should still be taken and TakeProfit.
COMPARE TO OTHER INDICATORS: it can partially be compared with the MT4 ATR (Average True Range): Just apply the same Period on a Daily Chart.*
Example Simulate a MT4 Dayly ATR:
Other Input Parameters which are specific to this Indicators etc....
_____________1_____________ = "<<< DPP SETTINGS >>>"
*iDPPPeriod: Number of Bars included in the averaging process. Must be greater than 2.
*iDPPMethod: 2 slightly different ways to calculate the final DPP:
*iSkipBarsOfWeekday: Can be used to skip in the calculation the data of the specified Weekday. Use -1 to avoid skipping anything Otherwise use any of (0 means Sunday,1,2,3,4,5,6)
*iWhichDayBar: The DAY SHIFT we want to calculate the DPP for: 0 is Day Price Projection for Current Day: May not be less than 0.
== ADDITIONAL PROJECTIONS == are intended to be helpful Lines based on percentage settings of the calculated Day Price Projection. If one likes Fibonacci one can use such or anything else.
*dDPProjPercInArea: Must be less than 100 %. The main idea is to use this to create a DPP inner area - far enough from the Full Day Price Projection.
*dDPProjPerc1: The main idea is to use this for some sort of first TP projection. But of course it can be used for any other things too: e.g. as a trade entry on rejection ect...
*dDPProjPerc2: The main idea is to use this for some sort of second TP projection. But of course it can be used for any other things too: e.g. as a trade entry on rejection,..SL. especially if it is more than 100%
_____________2_____________ = "<<< PLOT LINE SETTINGS >>>"
"== PreviousDay =="
*bPlotPrevDayHiLoLine: if TRUE we also plot the Previous Day(of iWhichDayBar)'s HiLo.
*iPrevDayHiLoLineStyle: Previous Day(of iWhichDayBar) High/Low Lines Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iPrevDayHiLoLineWidth: Previous Day(of iWhichDayBar) High/Low Lines width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cPrevDayHiLoLine: Previous Day(of iWhichDayBar) High/Low Lines color.
*bPrevDayHiLoLineBack: If TRUE: Previous Day(of iWhichDayBar) Lines are Drawn in Background. Boolean value to set/get background drawing flag for object.
*bPrevDayHiLoLineXtend: If TRUE: Previous Day(of iWhichDayBar) Lines are Extended to the right. Boolean value to set/get ray flag of object.
"== iWhichDayBar =="
*bPlotDayHiLoLine: if TRUE we also plot the Day(iWhichDayBar)'s HiLo.
*iDayHiLoLineStyle: Day(iWhichDayBar) High/Low Lines Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iDayHiLoLineWidth: Day(iWhichDayBar) High/Low Lines width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cDayHiLine: Day(iWhichDayBar) High Line color.
*cDayLoLine: Day(iWhichDayBar) Low Line color.
*bDayHiLoLineBack: If TRUE: Day(iWhichDayBar) Lines are Drawn in Background. Boolean value to set/get background drawing flag for object.
*bDayHiLoLineXtend: If TRUE: Day(iWhichDayBar) Line are Extended to the right. Boolean value to set/get ray flag of object.
*bPlotWhichDayBarDate: If TRUE: Displays the WhichDayarDate. Mainly a Helper for Past Days Testing.
*iWhichDayBarDateDistanceX: Moves WhichDayBarDate to the horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iWhichDayBarDateDistanceY: Moves WhichDayBarDate vertical: Integer value is to set/get anchor Y distance object property in pixels.
*cWhichDayBarDate: Color for plotting the: WhichDayBarDate.
*iWhichDayBarDateFontSize: FontSize for plotting the: WhichDayBarDate.
"== GENERAL DPP LINES =="
VERY IMPORTANT: Sometimes the Price moves so far outside the Full Day Price Projection that a proper display of most of the DPP Lines is not anymore possible.
In such case only the DPP Middle Line (if enabled) is plotted. All other DPP Lines are automatically hidden (even if they are enabled).
"== DPP MiddleLine =="
*bPlotMiddleLine: if TRUE we also plot Day Price Projection (DPP) Middle Line.
*iMiddleLineStyle: Day Price Projection (DPP) Middle Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iMiddleLineWidth: Day Price Projection (DPP) Middle Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cMiddleLine: Day Price Projection (DPP) Middle Line color.
*bMiddleLineBack: If TRUE: Day Price Projection (DPP) Middle Line is Drawn in Background. Boolean value to set/get background drawing flag for object.
*bMiddleLineXtend: If TRUE: Day Price Projection (DPP) Middle Line is Extended to the right. Boolean value to set/get ray flag of object.
"== DPP FullProjLine =="
*bPlotFullProjLine: if TRUE we also plot Day Price Projection (DPP) Full Line.
*iFullProjLineStyle: Day Price Projection (DPP) Full Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iFullProjLineWidth: Day Price Projection (DPP) Full Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cFullProjLine: Day Price Projection (DPP) Full Line color.
*bFullProjLineBack: If TRUE: Day Price Projection (DPP) Full Line is Drawn in Background. Boolean value to set/get background drawing flag for object.
*bFullProjLineXtend: If TRUE: Day Price Projection (DPP) Full Line is Extended to the right. Boolean value to set/get ray flag of object.
"== DPP PercInAreaLine =="
*bPlotPercInAreaLine: if TRUE we also plot Day Price Projection (DPP) Percentage In Area Line.
*iPercInAreaLineStyle: Day Price Projection (DPP) Percentage In Area Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iPercInAreaLineWidth: Day Price Projection (DPP) Percentage In Area Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cPercInAreaLine: Day Price Projection (DPP) Percentage In Area Line color.
*bPercInAreaLineBack: If TRUE: Day Price Projection (DPP) Percentage In Area Line is Drawn in Background. Boolean value to set/get background drawing flag for object.
*bPercInAreaLineXtend: If TRUE: Day Price Projection (DPP) Percentage In Area Line is Extended to the right. Boolean value to set/get ray flag of object.
"== DPP Perc1Line =="
*bPlotPerc1Line: if TRUE we also plot Day Price Projection (DPP) Percentage 1 Line.
*iPerc1LineStyle: Day Price Projection (DPP) Percentage 1 Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iPerc1LineWidth: Day Price Projection (DPP) Percentage 1 Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cPerc1Line: Day Price Projection (DPP) Percentage 1 Line color.
*bPerc1LineBack: If TRUE: Day Price Projection (DPP) Percentage 1 Line is Drawn in Background. Boolean value to set/get background drawing flag for object.
*bPerc1LineXtend: If TRUE: Day Price Projection (DPP) Percentage 1 Line is Extended to the right. Boolean value to set/get ray flag of object.
"== DPP Perc2Line =="
*bPlotPerc2Line: if TRUE we also plot Day Price Projection (DPP) Percentage 2 Line.
*iPerc2LineStyle: Day Price Projection (DPP) Percentage 2 Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.
*iPerc2LineWidth: Day Price Projection (DPP) Percentage 2 Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.
*cPerc2Line: Day Price Projection (DPP) Percentage 2 Line color.
*bPerc2LineBack: If TRUE: Day Price Projection (DPP) Percentage 2 Line is Drawn in Background. Boolean value to set/get background drawing flag for object.
*bPerc2LineXtend: If TRUE: Day Price Projection (DPP) Percentage 2 Line is Extended to the right. Boolean value to set/get ray flag of object.
_____________3____________ = "<<< PLOT TEXT SETTINGS >>>"
NOTE: Most of the TEXT Infos are only useful with Live Data for the Current Day: (iWhichDayBar = 0)
There are 3 automatically assigned Colors: cPriceWithinPercInArea, cPriceOutOfPercInArea, cWarningColor (Exception is the PrevDayPips part which uses always the own assigned color: cInfoPrevDPips)
NOTE: with each TextInfo parts: DistanceX, DistanceY each position can be completely individually adjusted.
*iInfoCorner: For All DPP TextInfo the corner. Integer value to set/get anchor corner property for label objects. Must be from 0-3.
"== PLOT ENTRY DIRECTION =="
*bPlotEntryDirection if TRUE we also plot the possible Entry Direction signs: UP, DOWN and Ok for both possible entry directions.
*iEntryDirectionDistanceX Moves Sign EntryDirection horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iEntryDirectionDistanceY Moves Sign EntryDirection vertical: Integer value is to set/get anchor Y distance object property in pixels.
*iEntryDirectionBackFontSize For EntryDirection Background the FontSize.
*iEntryDirectionSignFontSize For EntryDirection Sign the FontSize.
*cEntryDirectionBackUpDn BACKGROUND: EntryDirection square color if EITHER(Up or Down) is the possible suggestion. NOTE: this are not suggested entries as such. It's just an additional suggestion to be considered base on the DPP input settings.
*cEntryDirectionSignUP Sign: EntryDirection color if ONLY UP is the possible suggestion.
*cEntryDirectionSignDN Sign: EntryDirection color if ONLY DOWN is the possible suggestion.
*cEntryDirectionBackBOTH BACKGROUND: EntryDirection square color if BOTH(Up and Down) is the possible suggestion. NOTE: this are not suggested entries as such. It's just an additional suggestion to be considered base on the DPP input settings.
*cEntryDirectionSignBOTH Sign: EntryDirection color if BOTH(Up and Down) is the possible suggestion.
*cEntryDirectionBackWARN BACKGROUND: EntryDirection square color if NONE (WARNING) is the possible suggestion. NOTE: this are not suggested entries as such. It's just an additional suggestion to be considered base on the DPP input settings.
*cEntryDirectionSignWARN Sign: EntryDirection color if NONE (WARNING) is the possible suggestion.
"==-- INFO TEXT INFO --=="
*iTextInfoFontSize: For All DPP TextInfo the FontSize. Except the: EntryDirection Signs which uses their own
"== AUTO ASSIGNED COLORS =="
*cPriceWithinPercInArea: DPP TextInfo Color: if Price is within/between the two: PercInAreaLines (More or less dpending on each Info Part slightly different) (applys also if the Lines are not plotted).
*cPriceOutOfPercInArea: DPP TextInfo Color if Price is outside the two: PercInAreaLines BUT still within the two FullProjLines (More or less dpending on each Info Part slightly different) (applys also if the Lines are not plotted).
*cWarning = Red: DPP TextInfo Color if Price is outside the two: FullProjLines (More or less dpending on each Info Part slightly different) (applys also if the Lines are not plotted).
"== PLOT DPP TEXT INFO =="
Warning Color if: Actual Pips (Days Total Move) are more than the Projected DPP Pips: more than 100%
*bPlotInfoDPP: if TRUE we also plot the TextInfo InfoDPP: Plots iWhichDayBar's DPP: Pips Projection|TotalActualDayPips|ActualDayPips % Of DPP Projection.
*iInfoDPPDistanceX: Moves TextInfo InfoDPP horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iInfoDPPDistanceY: Moves TextInfo InfoDPP vertical: Integer value is to set/get anchor Y distance object property in pixels.
"== PLOT ActualToDPP Hi/Lo =="
Warning Color if: Price is outside the two: FullProjLines (PipsTo DPPHi or PipsTo DPPLo is 0 or negative)
*bPlotInfoActualToDPPHiLo: if TRUE we also plot the TextInfo InfoActualToDPPHiLo: Plots iWhichDayBar's DPP: Pips Actually Price To Full DPP High|Pips Actually Price To Full DPP Low.
*iInfoActualToDPPHiLoDistanceX: Moves TextInfo InfoActualToDPPHiLo to the horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iInfoActualToDPPHiLoDistanceY: Moves TextInfo InfoActualToDPPHiLo vertical: Integer value is to set/get anchor Y distance object property in pixels.
"== PLOT Full DPProjection Hi/Lo =="
*bPlotInfoFullDPPHiLo: if TRUE we also plot the TextInfo InfoFullDPPHiLo: Plots iWhichDayBar's DPP: Full DPP High Price|Full DPP Low Price.
*iInfoFullDPPHiLoDistanceX: Moves TextInfo InfoFullDPPHiLo to the horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iInfoFullDPPHiLoDistanceY: Moves TextInfo InfoFullDPPHiLo vertical: Integer value is to set/get anchor Y distance object property in pixels.
"== PLOT PrevDayPips =="
*PlotInfoPrevDPips: if TRUE we also plot the TextInfo InfoPrevDPips: Plots Previous Day(of iWhichDayBar)'s Total Pips Range. Note: if Sundays data are included this might be very small on Monday.
*iInfoPrevDPipsDistanceX: Moves TextInfo InfoPrevDPips to the horizontal: the Integer value to set/get anchor X distance object property in pixels.
*iInfoPrevDPipsDistanceY: Moves TextInfo InfoPrevDPips vertical: Integer value is to set/get anchor Y distance object property in pixels.
*cInfoPrevDPips: DPP TextInfo InfoPrevDPips Color. NOTE: this is never automatically changed but uses always the same assigned color.
===== END OF ===== OTHER INPUT VARIABLES =====