Australian (ASX) Stock Market Forum

Recent content by xxx

  1. X

    Amibroker coding questions

    Re: PositionScore Thank you for your answer. It works now.
  2. X

    Amibroker coding questions

    coding help Hello, I wrote a code for amibroker with rotational trading enabled. The system rotates monthly. Now I would like to add that the system rotates monthly but buys on the second trading day. My problem ist that I do not know how I could code this because of a monthly / daily clash...
  3. X

    Amibroker coding questions

    PositionScore Hello, I have a question: I would like to test if my score is bigger then 100. If I write my code as followed: test = score > 100; PositionScore = IIf ( rotate, test, scoreNoRotate); My result for PositionScore is 1 or 0. But I would like to get the number. Could...
  4. X

    SetTradeDelays does not work

    thank you very much for your help! I found my fault. It works now. I ad a fallacy.
  5. X

    SetTradeDelays does not work

    Hello, I wrote a code where I would like to buy the next day opening thats why I set SetTradeDelays (1,0,0,0). But it still buys on the same day and not on the following. Does anybody knows why?
  6. X

    Amibroker coding questions

    Hello, I would like to code that if I got profit the month before I would like to invest 2 % of it in the next month. Does anybody knows how I could programm this? Thanks in advance.
  7. X

    When is a Risk/Reward Ratio good?

    Thank you everyone for your help!
  8. X

    Buy 5 worst stocks

    My code is not ranking the worst ones. HAs anybody an idea? this is my code: SetTradeDelays (0,0,0,0); SetOption( "InitialEquity", 50000 ); // Eigenkapital gesamt = 50000 SetPositionSize(10000,spsValue); // Eigenkapital pro Aktie = 10000 SetBacktestMode(backtestRotational)...
  9. X

    Buy 5 worst stocks

    Hello, I want to try a system which says that I would like to buy the 5 worst stocks every month with rotational trading. All in all I now how roational trading works. But my code I wrote does not calculate the 5 worst stocks. The 5 worst stocks are the 5 stocks which have the worst...
  10. X

    When is a Risk/Reward Ratio good?

    Hello, I have a generall question. When is a Risk-Reward Ratio good?
  11. X

    What does this code do?

    Thank you for your help!
  12. X

    Equity curve

    Hello, so far my code is like that: e = Equity(); EquityMAlength = Optimize ( "EquityMAlength", 3,1,12,2); EquityMA = MA ( e, EquityMAlength); Pass = IIf (e >= EquityMA, 1,0); Filter = 1; PortEquity = Foreign("~~~Equity","C"); AddColumn ( PortEquity, "Close", 1.4)...
  13. X

    Equity curve

    thank you!
  14. X

    Equity curve

    How is this group called? I was looking for some groups last week. But there are several groups.
  15. X

    Equity curve

    Thank you very much!
Top