Replies

savetree.eatbeaver
27 May 2024, 11:24 ( Updated at: 27 May 2024, 13:55 )

RE: RE: RE: How to calculate stop out level?

firemyst said: 

savetree.eatbeaver said: 

firemyst said: 

Try going through this example:

 

https://help.ctrader.com/trading-with-ctrader/conditions/#fair-stop-out

 

 

Thank you, I know this example, but it doesnt help me.

Lets assume I have 100USD on my account (leverage 1:500). I want to open only one position (LONG) on that account (EURUSD).

And I want this position to be stopped out by the broker when market drops for 20 pips.

How can I calculate size for that position?

 

Using Google? First result for me:

https://www.earnforex.com/forum/threads/how-to-calculate-maximum-position-size-by-stop-out-level-and-margin-leverage.48897/

 

Thanks! You are the best! XX

 


@savetree.eatbeaver

savetree.eatbeaver
26 May 2024, 09:04 ( Updated at: 27 May 2024, 05:21 )

RE: How to calculate stop out level?

firemyst said: 

Try going through this example:

 

https://help.ctrader.com/trading-with-ctrader/conditions/#fair-stop-out

 

 

Thank you, I know this example, but it doesnt help me.

Lets assume I have 100USD on my account (leverage 1:500). I want to open only one position (LONG) on that account (EURUSD).

And I want this position to be stopped out by the broker when market drops for 20 pips.

How can I calculate size for that position?

 

 


@savetree.eatbeaver

savetree.eatbeaver
18 Apr 2024, 11:59

RE: Why date comparison is not working as expected?

PanagiotisCharalampous said: 

Hi there,

You have a logical problem here

                            if (bottomTime < topTime)                                Print(Bars.OpenTimes[lastIndex] + ": Bottom first");                                                        if (topTime > bottomTime)                                Print(Bars.OpenTimes[lastIndex] + ": Top first");

bottomTime < topTime and topTime > bottomTime are the same thing.

LOL. You are right! Im so stupid XDXD


@savetree.eatbeaver

savetree.eatbeaver
18 Apr 2024, 06:35 ( Updated at: 18 Apr 2024, 09:25 )

RE: Why date comparison is not working as expected?

PanagiotisCharalampous said: 

Hi there,

Can you explain why you think both are executed?

Best regards,

Panagiotis

Hi, I forgot to say that this indicator is only supposed to work on H1.

Answering your question:

 


@savetree.eatbeaver