I am new to thinkscript and would appreciate any help in writing the thinkscript code for a buy/sell strategy based on ADX and DMI+; DMI- trends on a 30m chart:
Long Entry (LE)
Short Entry (SE)
Long Entry (LE)
- Using a 30 min stock chart along with the DMI(14, Wilders) study
- Starting with the condition that ADX <20 and below both DI- and DI+
- When the ADX crosses above DI-, then show the LE symbol on the chart
- When the current ADX moves lower than the previous ADX one bar ago, then show LE - Exit symbol on the chart
Short Entry (SE)
- Using a 30 min stock chart along with the DMI(14, Wilders) study
- Starting with the condition that ADX <20 and below both DI- and DI+
- When the ADX crosses above DI+, then show the LE symbol on the chart
- When the current ADX is lower than the previous ADX one bar ago, then show LE - Exit symbol on the chart