actually it calculates swaps and comissions included
Posts made by miro1360
-
RE: Profit calculationposted in Questions & Answers
-
RE: The perfect hammer candleposted in Questions & Answers
I think, you need find this hammer on % based sizes ... it is not easiest ... using custom code block you can find here inspiration:
https://fxdreema.com/forum/topic/4321/tutorial-08-candle-formations/2 (at bottom)
-
RE: Create custom block?posted in Questions & Answers
... my answer with return in this function was not right

try this modification:https://fxdreema.com/shared/Omfgtqdqd

next ... blocks Check profit unrealized - when you set filters for "both" buy and sells, it counts profit from buy and sell together ... when you will separate it, set here filter only for buy (or only for sell) ... because when you open it in hedge (buy+sell) your profit is 0-spread and it will not be closed ...
-
RE: Create custom block?posted in Questions & Answers
here is more than one way how to do this ... you can add this function here into functions:
https://fxdreema.com/studio
than call this function one time with custom code block:

and now you can working with this function .. but I see here some variables which must be defined before this function or in Constants or Variables ... like: "CandlesBack" ...second way can be little complicated and need again custom code:

here are also variables and constants as inputs:


https://fxdreema.com/shared/9mz6YkCoemaybe exist something easier, but I was using it as examples above are described ...
-
RE: Range of bars for a condition to be metposted in Questions & Answers
try to look through my replies and find example about "flags" or "counters, candle counter, etc" ... I am not sure where I was replied about it but it was more times about the same question

-
RE: Arrow + 2 MA indicatorsposted in Questions & Answers
open More settings in conditions and try set Candle ID to 1 ...
-
RE: Inputs for Scriptsposted in Questions & Answers
for now do it manually, open mql4 file in metaeditor, add this line #property script_show_inputs here:

and click Compile button in metaeditor and test it ...
-
RE: CLOSE TRADES ON MULTIPLE PAIRSposted in Questions & Answers
sorry, I have not tested, try this:
https://fxdreema.com/shared/NFxSy6Utd -
RE: maximum value of indicatorposted in Questions & Answers
use block Indicator moves within limits:

-
RE: Can you Edit in this indicator , please ?posted in Questions & Answers
what you are doing?
because it is working for me ...

... do you have in metatrader indicators folder this pavs-indicator-buffers.ex4 indicator? because missing indicator can do this issue ...
-
RE: object labelposted in Questions & Answers
this behavior is not so easy to automate ... it is possible but it need a lot of custom code - and this means a lot of time to do it
.... maybe somebody help you here how to do it easy but I dont know .... in future I try something ... -
RE: SMA200 rise/fall do not workposted in Questions & Answers
try decrease parameter Pips to rise from 10 to lower value .... or change timeframe for higher:

because these conditions depends on Timeframe where you are testing it ...
-
RE: Can you Edit in this indicator , please ?posted in Questions & Answers
0 is upper line and 1 is lower line .... you can trace these lines using trace block in visual tester and see what happens:

-
RE: Can you Edit in this indicator , please ?posted in Questions & Answers
not sure if it is ok, in tester is working
... -
RE: object labelposted in Questions & Answers
and when you create this label in the same time when object is created? (I mean, create object and after that create label in the same price as object was created), so both in one time ...

