Would anyone tell me how to code the above in Metatrader 4
Thank You in advance
Derek
Thank You in advance
Derek
Inserted Code
/--- input parameters input int Pivot:= LastValue(Highest(HIGH)); input int Enter Increment or Decrement Ring:=(Sqrt((9 + 12* Pivot))+3)/6; Increment:=Input ("Enter Increment or Decrement", {Increment or Decrement of Ring of Hexagon} Target:=(Power(((( Ring-Decrement)*6) -3),2) -9)/12; Plot Horizontal Line Red at Value of Pivot:= LastValue(Highest(HIGH)); Plot Horizontal Line Green at Target:=(Power(((( Ring-Decrement)*6) -3),2) -9)/12; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The brackets are necessary for the precedence in the cal For the Square Root how do you apply MathPow (number ,1/Root ) And to Square the of the number MathPow (number ,2 )