Search found 1 match

Go to advanced search

by Demalesius
Sat Mar 19, 2022 10:20 am
Forum: Pine Script Q&A
Topic: Coding a certain value difference between moving averages
Replies: 1
Views: 572
 
Jump to post

Coding a certain value difference between moving averages

Hello guys I have following problem. I want to have a code for an opening order for following criteria: EMA8 has to be higher than EMA14 but also with at least 5% or a certain value. This is working fine but doesn't includes the 5% or a value: longCondition1 = ema(close, 8) > ema(close, 14) So I tri...

Go to advanced search