Support Board
Date/Time: Sat, 01 Feb 2025 15:49:15 +0000
Post From: Alert condition with TICKSIZE
[2019-07-15 17:50:36] |
Sawtooth - Posts: 4164 |
Try this: - Set the 'Value Format' of the Numbers Bars Calculated Values study to 0.01 - Use this formula: OR( MROUND(ID2.SG42,TICKSIZE)=MROUND(H,TICKSIZE) - 1*TICKSIZE, MROUND(ID2.SG42,TICKSIZE)=MROUND(L,TICKSIZE) + 1*TICKSIZE) The Value Format setting allows the formula to see the price to the penny. The MROUND function rounds prices to the ticksize, removing any floating point errors. Date Time Of Last Edit: 2019-07-15 19:40:37
|