Forum

Changing The Coordinate Of A Moving Average

Hey guys, In this picture i have a 9 simple moving average in Red. I drew the blue line by hand. I want to to have something like the blue line.i mean how to change the algorithm of for example this moving average to gives me the blue line. I mean when market moves down, the line be below the price

Negative Indices

hi everyone, i have an indicator and there is a variable "r" in that code that starts from -1 . if you change it to zero, the first candle doesnt have amount. i want to know why is started "r" from -1 . i want to write this code to another language , can someone help me ? Thank you :)

phenomenal 2 or above

Hi guys, ive found a phenomenal 1 indicator, its good and i can give it a period. it doesnt repaint but i need phenomenal 2 or above. ive found another indicator that provides me this feature. but it repaints. can someone change the codes and add a period for it. i know maybe you tell me it doesnt

Linear Regression

hi, i saw a link about Regression but it doesn't work properly. i need these codes because i think its easy and i have some formulas like this and i want to implement my formulas. the link is : https://www.mql5.com/en/forum/158333 thank you in advanced :)

Convert X axis and Y axis to a point and drawing a line

Hi guys, i have a formula. i know (X) is the time and (Y) is the Price. i calculate (Y) In terms of (X). But how can i put them into a buffer to draw a line? could anyone help me?Thank you in Advanced. The formula is: Y = 3.2467577 -0.73769819*cos(0.25848433*X) +0.57212481*sin(0.25848433*X)

Sine Wave Filter Formula

Hi Guys, Im new in programming. Someone who is skilled in mathematics has given me this formula, but I do not know how to use it. He told me this is the code of the program and you do not need anything else. But I do not know what is the variables X and Y? I tried to write this program but nothing