Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

thunderdogg1520887470

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by thunderdogg1520887470

  1. GUys, I'm a beginner using AMIbroker and am trying to come up with a real basic code to begin learning the software and i'm having trouble. What i'm trying to do is set up a system that will give buy signals when a new 52 week high is reached. I want to sell when the 3 week high is lower than the 52 week high. This is my code, what's wrong? it gives me a freaking buy and sell signal everyday:------------ H1 = Ref(HHV(H,260),-1); H2= Ref(HHV(High,15),-1); //system Buy = H > H1; Sell = H2 < H1; Buy = ExRem(Buy, Sell);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.