Draw line using input

 

Hi all,

I am trying to create and indicator whereby I use the input box to manually type a new level in each day.

I have in my code...

input int  Level = 1.2300;

It wont accept the decimal point.. 

How can I use this to set the buffer

I did try several things using 12300/10000 but not good..  

Any help greatly appreciated. 

 
MPFX1:

input int  Level = 1.2300;

It wont accept the decimal point..

input double Level = 1.2300;
https://www.mql5.com/en/docs/basis/types
Documentation on MQL5: Language Basics / Data Types
Documentation on MQL5: Language Basics / Data Types
  • www.mql5.com
Data Types - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 

Thank you so much.. Really appreciated. Worked perfectly..