Replies

SaphirSpecs
12 Nov 2024, 16:33

RE: RE: RE: Custom indicator Plotting horizontal lines at User specified price increments

PanagiotisCharalampous said: 

SaphirSpecs said: 

PanagiotisCharalampous said: 

 

so I’m not really fam with coding on this platform and currently the code does plot horizontal lines on the workspace. 
the ideal output is 

-user defines (current) price at which the algo starts plotting horizontal lines

-user defines increment at which each horizontal line is plotted 

 for example ( Gold 2000, 3, 100) 

algo plots a horizontal line each $3 

currently my code gives me the prompts for each parameter but does not even plot a single line. 
ideally the code would plot automatically using a for loop. But worst case scenario I can manually enter the code for each line 

Hi there,

Can you explain your issue in more detail? What do you expect your code to do and what does it do instead?

Best regards,

Panagiotis

 

Hi there,

I tried your indicator and it plots the lines fine. 

So I do not see a problem.

Best regards,

Hey there,

 

Thanks for trying out the code. However the issue is that it's not supposed to just plot one line. It supposed to plot multiple lines as defined by the User. Could you share the code you used to get it to plot a line ? Cause I was not able able able to get my code to plot a single line. 

 

Thank you in advance.

 


@SaphirSpecs

SaphirSpecs
12 Nov 2024, 16:33

RE: RE: RE: Custom indicator Plotting horizontal lines at User specified price increments

PanagiotisCharalampous said: 

SaphirSpecs said: 

PanagiotisCharalampous said: 

 

so I’m not really fam with coding on this platform and currently the code does plot horizontal lines on the workspace. 
the ideal output is 

-user defines (current) price at which the algo starts plotting horizontal lines

-user defines increment at which each horizontal line is plotted 

 for example ( Gold 2000, 3, 100) 

algo plots a horizontal line each $3 

currently my code gives me the prompts for each parameter but does not even plot a single line. 
ideally the code would plot automatically using a for loop. But worst case scenario I can manually enter the code for each line 

Hi there,

Can you explain your issue in more detail? What do you expect your code to do and what does it do instead?

Best regards,

Panagiotis

 

Hi there,

I tried your indicator and it plots the lines fine. 

So I do not see a problem.

Best regards,

Hey there,

 

Thanks for trying out the code. However the issue is that it's not supposed to just plot one line. It supposed to plot multiple lines as defined by the User. Could you share the code you used to get it to plot a line ? Cause I was not able able able to get my code to plot a single line. 

 

Thank you in advance.

 


@SaphirSpecs

SaphirSpecs
11 Nov 2024, 15:03 ( Updated at: 12 Nov 2024, 06:20 )

RE: Custom indicator Plotting horizontal lines at User specified price increments

PanagiotisCharalampous said: 

 

so I’m not really fam with coding on this platform and currently the code does plot horizontal lines on the workspace. 
the ideal output is 

-user defines (current) price at which the algo starts plotting horizontal lines

-user defines increment at which each horizontal line is plotted 

 for example ( Gold 2000, 3, 100) 

algo plots a horizontal line each $3 

currently my code gives me the prompts for each parameter but does not even plot a single line. 
ideally the code would plot automatically using a for loop. But worst case scenario I can manually enter the code for each line 

Hi there,

Can you explain your issue in more detail? What do you expect your code to do and what does it do instead?

Best regards,

Panagiotis

 


@SaphirSpecs

SaphirSpecs
11 Nov 2024, 15:03 ( Updated at: 12 Nov 2024, 06:20 )

RE: Custom indicator Plotting horizontal lines at User specified price increments

PanagiotisCharalampous said: 

 

so I’m not really fam with coding on this platform and currently the code does plot horizontal lines on the workspace. 
the ideal output is 

-user defines (current) price at which the algo starts plotting horizontal lines

-user defines increment at which each horizontal line is plotted 

 for example ( Gold 2000, 3, 100) 

algo plots a horizontal line each $3 

currently my code gives me the prompts for each parameter but does not even plot a single line. 
ideally the code would plot automatically using a for loop. But worst case scenario I can manually enter the code for each line 

Hi there,

Can you explain your issue in more detail? What do you expect your code to do and what does it do instead?

Best regards,

Panagiotis

 


@SaphirSpecs