Replies

alidarvish64@yahoo.com
22 Aug 2022, 09:25 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi there,

Can you explain what do you mean? I don't see any obvious problem on the chart.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@alidarvish64@yahoo.com

alidarvish64@yahoo.com
07 Sep 2018, 10:39

Dear Panagiotis

The result is the same. Even with a million dollars

This is a very simple condition. But I do not know why it does not run.


thanks anyway


@alidarvish64@yahoo.com

alidarvish64@yahoo.com
07 Sep 2018, 10:09 ( Updated at: 21 Dec 2023, 09:20 )

Dear Panagiotis

If our bet is changed from bigger to smaller. See the result

  protected override void OnTick()
        {
            if (hivalow.KijunSenMax.Last(2) == hivalow.KijunSenMax.Last(1))
            {
                if (hivalow.KijunSenMax.Last(0) < hivalow.KijunSenMax.Last(1))
                {
                    ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "cBotLabel", 20, 20);
                }
            }

But by changing the condition, the robot does not work anymore

  if (hivalow.KijunSenMax.Last(0) > hivalow.KijunSenMax.Last(1))

And see the result

Does not run the purchase position.

The first condition is not accepted. That I can apply my next bets. 

I need the amount of moment. I can not access the moment at on bar


@alidarvish64@yahoo.com

alidarvish64@yahoo.com
07 Sep 2018, 08:46 ( Updated at: 21 Dec 2023, 09:20 )


@alidarvish64@yahoo.com

alidarvish64@yahoo.com
07 Sep 2018, 08:40 ( Updated at: 21 Dec 2023, 09:20 )

Why does not work?
Thankful


@alidarvish64@yahoo.com