Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 15:40:06 +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
imageScreenshot 2024-05-29 215744.png / V - Attached On 2024-05-30 05:02:14 UTC - Size: 4.28 KB - 43 views