Support Board
Date/Time: Sun, 06 Jul 2025 08:19:28 +0000
Post From: Need help with Custom Code for the Study
[2024-05-30 05:03:14] |
User404701 - Posts: 7 |
Hi, Trying to build a basic study where i am checking if low of the price on a 5 mins chart is well above the 5 EMA and the next bar moves below the previous bar, i would want a short signal. If you could please help with a code statement/snippet to do this will be great. To get started I have taken the sample code for the crossover from "TradingSystem". Screenshot attached. In the screenshot, yellow line is the EMA5. Also, if you could provide a statement that i could use to add the offset like the gap between low and the EMA5 in terms of ticks or points. Date Time Of Last Edit: 2024-05-30 05:05:00
|
![]() |