Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Codes to Visual
 Post subject: Codes to Visual Post rating: 0   New post Posted: Mon 25 Jun, 2018, 12:39 

User rating: 2
Joined: Sun 19 Jul, 2015, 20:58
Posts: 13
Location: HungaryHungary
Hy!

Im trying to build my own robot, whit less knowledge, but im persistent! :)
I do my code on the visual jforex platform, but has some issues whit few things. But its working!
Seraching on the forum i see, that i would have few my problem solved if i would known how to implement it in to my code.

I use the visual part, so i dont write the code down.

Is it possible, to see a visual from the code when i copy paste the it in to the Visual Jforex program?

Other thing.

I try to get a signal, from my program, when the last candle ( what i get from historical candle 1 name:"last candle" ) touch or goes above my ema line. I do it whit the "IF" box, like if the "last candle candle high" is greater or equal whit the ema then do this and that. What is the candle high? In my reading the highest price level, where the last candle goes. It could be higher then the closing (bulish candle) price, and if i want the lower low of the candle, it can be lowert then the close price (bearish candle.
The program put the signal just afterm a candle close price is above the ema line, never then when the higher wick touch or goes above it.

If i use the shift 3 parametar on the ema indicator will the sesivity moved to? I mean, is it possible, that the candle high will never touch my ema because the shift?

Thx for the advice!


 
 Post subject: Re: Codes to Visual Post rating: 0   New post Posted: Tue 26 Jun, 2018, 12:04 
User avatar

User rating: 0
Joined: Thu 09 May, 2013, 18:38
Posts: 11
Location: SerbiaSerbia
ipok wrote:
Hy!

Is it possible, to see a visual from the code when i copy paste the it in to the Visual Jforex program?



First, try to copy paste something looking as text (code) to VJF. I really wonder how are You going to do it. If You will succeed, please, share Your receipt.


 
 Post subject: Re: Codes to Visual Post rating: 0   New post Posted: Wed 27 Jun, 2018, 07:46 

User rating: 2
Joined: Sun 19 Jul, 2015, 20:58
Posts: 13
Location: HungaryHungary
Hy! In the program vjf has a function to get the a source from your program.My tought was that it has the possibility that it works backward to. Put the programcode in to the .vfs file and the world has a new.meaning. No it worked not. I wanted this because i dont found a few thing in the vjf code blocks like the fuction itextchartobject to mark a candle when the conditions are right.

I try to do now to put m SL above the the second or the firsf candle left from the current one. I think in somple way.I get the 1,2 candle. from get historical candle and i use the if block get the candle high from both candle and if the second candle high is greater that the first one i want to put the sl above it with 5 pip. I use the mathematical block to ad 5 pip to second candle high and after i us the stop loss block. It seems its not working. What is the concept to build a function like that?


 
 Post subject: Re: Codes to Visual Post rating: 0   New post Posted: Wed 04 Jul, 2018, 09:18 
User avatar

User rating: 0
Joined: Fri 19 Apr, 2013, 10:17
Posts: 31
Location: Ukraine, Kiev
Please, re-think the logic what are You going to compare to determine the level of Your SL.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com