1 (edited by AD1408 2019-09-04 17:17:27)

Topic: lil script help please?

frmNotes.edRR.value := ('1 : '(frmNotes.edPipsGained.value)/(frmNotes.edStop.Value));

The above seems to be not correct.
Trying to calc. and display risk:reward as:

1 : 4.6
or
1 : 5
or
1 : 6.45
and so on

Adam
God... please help me become the person my dog thinks I am.

Re: lil script help please?

Change

frmNotes.edRR.value := ('1 : '(frmNotes.edPipsGained.value)/(frmNotes.edStop.Value));

To


frmNotes.edRR.Text := '1 : ' + FloatToStr(frmNotes.edPipsGained.value/frmNotes.edStop.Value);

Re: lil script help please?

Hi EHW,


Thank you very much.....
Truly appreciated............

Adam
God... please help me become the person my dog thinks I am.

Re: lil script help please?

Thank you very much Derek.
It works perfectly