WorkTF = PERIOD_CURRENT; //Work timeframes Trades = ALL_TRADES; //Direction of trade (first only) -- long and short ; long only , short only GridStep = 100; //Recovery Distance ; definable value I fill the value in points ; Distance to open an inverse position, working as a hedge ; input based on the indicator signal, the trigger for input is the distance in points but the inputs are based on the indicator signal, that is, you can pass the number of pre-defined points if you have not given an input signal on the indicator, enter only when the indicator gives the input signal. "----- Stops Management" StopLoss = 0; //Stop Loss (points after Recovery Distance , 0=off) , definable value I fill the value in points. TakeProfit = 50; //Take Profit at points, 0=off.; definable value I fill the value in points. "----- Money Management" Lot = 0.10; //Volume of start position at lots, definable value I fill the value in points. LotMult = 1.5; //Lots multiplier , definable value I fill in the value of the lots. LotMax = 100000.0; //Lots max. size , definable value I fill in the value of the lots. "----- Time properties" TimeStart = "09:05:00"; //Time Start , TimeStop = "17:30:00"; //Time Stop , UseTimeClose = false; //Use Time Close , Active or not TimeClose = "22:00:00"; //Time Close. "----- INDICATORS SETTING" IndiType = INDI_MA; //Used Indicator; indicator would be selectable in that first moment I would like to use 2 indicators where you would select which one to use (Ma and Ichimoku) leave a field below to configure each indicator individually. StartPrice = 1; //Bar namber ( Doubles only); bar number for entry based on confirmation of the indicator's input signal, explore only the bar defined in the defined bar (0,1,2,3 ...) or the indicator keeps the trend, if it doesn't keep it, no other signal will enter ShowInd = true; //Show indicator ; Tue or False "----- Overlap properties" ---The overlap function will not always close them all, for example, the market keeps going up and down the program keeps opening its Hedge positions, but it will come to a moment, the last one will close the first, we have 5 open positions: 0.10, 0.15, 0.17, 0.23, 0.30, when the 0.30 transaction reaches 1% (definable where I choose the value I want) above the loss of the 0.10 position the program will close the 0.10 and 0.30 position, but if perhaps the market does not resume to continue closing positions (0.23 and a0.15 ...) with each other and arrive at the previous position where you opened lot 0.30, it will reopen lot 0.30 (using the indicator input signal ) and if the market resumes it will close lot 0.30 in this case with a 1% gain over lot 0.15 and so on, if the market reverses again it keeps opening positions and overlaps with each other until closing all losing positions OverUse = true; //ON ; function to overlap the previously opened position based on%, example: if I have a losing 0.10 position and after opening a second 0.15 position, this function will calculate the amount needed for the 0.15 position to close profitably "x"% above transaction loss 0.10 is open. OverNum = 3; //Last order number; from which order he would start the overlap function always closing the last one with the first, if the market resumes he keeps opening and closing positions until closing all OverPerc = 10.0; //Profit at %; definable profit overlap percentage value. "----- MA properties" MAperiod = "x" Method = "x" price = "x" move = "x" "----- Ichimoku properties" Tenka - sen = "x" Kiju-sen : "x" senku span b : "x" "------ Other options" Magic = 190325; //ID (Magic), up to 6 digits Slipage = 5; //Slippage