Thanks for your feedback.
I'll see about adding such functionality when I have time to make changes to this script. (Custom projects and changes to conversion scripts must come second to providing technical support.)
In regards to the behavior with FOREX, I had not considered this case for FOREX, so I have not implemented functionality for this case. In the meantime, you can consider adding modifications to the script so it better supports FOREX. For example, you could consider modifying the following block
From:
// Round the price if (LineType != ChartLineType.VerticalLine) { if (AttachedTo.AttachedToType == AttachedToType.Bars || RoundPrice) pricetime = priceToUse <= masterInst.RoundDownToTickSize(priceToUse) + masterInst.TickSize * 0.5 ? pricetime = masterInst.RoundDownToTickSize(priceToUse).ToString("0.00") : pricetime = masterInst.RoundToTickSize(priceToUse).ToString("0.00"); else pricetime = priceToUse.ToString("0.00"); }
if (LineType != ChartLineType.VerticalLine) { [B] if (masterInst.InstrumentType == InstrumentType.Forex) pricetime = priceToUse.ToString("0.000000");[/B] [B] else [/B]if (AttachedTo.AttachedToType == AttachedToType.Bars || RoundPrice) pricetime = priceToUse <= masterInst.RoundDownToTickSize(priceToUse) + masterInst.TickSize * 0.5 ? pricetime = masterInst.RoundDownToTickSize(priceToUse).ToString("0.00") : pricetime = masterInst.RoundToTickSize(priceToUse).ToString("0.00"); else pricetime = priceToUse.ToString("0.00"); }
Leave a comment: