Welcome to the BEST forum for traders

Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".

A newbie needs help with a macd script

Feb 12, 2022 - 1:57 AM

Viewed 359 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/55845 COPY
  • Hello, I'm a beginner and I'm working on a new script, one of the long conditions of the script is that the macd historigram is green (the color col_fall_above) and not light green (col_grow_above), the short condition is the opposite . So I copied the macd indicator code and tried something on line 20 but the error message line 20: Syntax error at input '>='. appears.
    Would anyone be kind enough to help me and/or give me advice?
    Thanks in advance.

    fdffd.png

    0
  • 1) the longcondition and shortcondition variables aren't declared before so you're calling some void friend

    2) the line 20 should be captured in a variable by adding something before like
    cond =

    0
CONTENTS