If someone know how i can "search" the last candle with the price i choose before ?
Posts made by xzion
-
RE: Communicate with E.A , Search the last candles with this price ? and problem with fibo ..posted in Questions & Answers
-
RE: Communicate with E.A , Search the last candles with this price ? and problem with fibo ..posted in Questions & Answers
Here you cand find the shared project / function call it as you want !
https://fxdreema.com/shared/p6SYkyI5c
To use it on test you just have to follow these step
1 launch EA
2 Click on "GET" BUTTON
it's setting on right down 2 value :
FIRST is 123456
Second is 78910
As text on chartYou just have to make a right click on the chart > List object > EDIT "Text1" for value 1 and "TEXT2" for value 2 (EDIT DESCRIPTION NOT NAME) and click on OK > it's saving new description into var get1 and get 2
get variables are define as string so
it's working with text and value like 1.XXXX , ect -
RE: Communicate with E.A , Search the last candles with this price ? and problem with fibo ..posted in Questions & Answers
Maybee i find a method to fix my first problem :
create a btn who draw a text > edit the text on chart > another btn "ok" that get value from the text and put it into a variable .
I think this could work i will test after
-
Communicate with E.A , Search the last candles with this price ? and problem with fibo ..posted in Questions & Answers
Hello !
First sorry for my very bad english.
I'm working on my personnal E.A and i have a problem.
I'm trying to make a function who draw a fibonnaci.
For the fibonnaci , the level i need to draw it is 0% and 100 %.
If i make my analys before and get thoses values (0 and 100) from my tradingview chart as price (exemple 0 % = 1.1800 and 100% = 1.1900)
I can set 2 variables before like FIBO0 and FIBO100 but how can i make thoses variables CHANGE ON RUN , not by modify variable block or by creating constant but by my own interaction ?
There is a possibility to make a "communication" between my EA , running on chart and me ?
Something like "prompt" block , who open a pop up where i can put my values (price of 0% and 100%) and then change de variable FIBO0 and FIBO100 ?
In my case i can't use prompt because it's only creating button and let me make a choice , not enter data.
This will fix my first problem if it's possible or i will make different ..
If i can get thoses values , how can i make the EA search the last candles with thoses prices (FIBO0 & FIBO100) to draw my fibo auto ?
The last thing is a little problem (not urgent) but i don't understand what's appens >
I made a comment block who draw some fibo value (0.38 ; 0.50 , ect..)
before creating this comment block i made my own research here and i find how to make it , everything is ok ( variables , get price from object on chart picked by name , ect..) price by levels is ok too .
Its perfectly working for 0.38 % but for EVERY other levels i get "2147483647" , even if i move my fibo , even if i change the values of price by levels (i made a test for all numbers from 0 to - 10) starting by 0.
I don't understand what's wrong with x)
Thank you for your help !
-
Question about personnel indicatorposted in Questions & Answers
Hello ,
I have a question about indicators.
I use in my EA projects the shaved supply zone indicator ,
I have the source code of this indicator
How can I include it in my project?
For the moment I have to drop the indicator on the chart .. it's very boring for backtest.
Can I include the indicator with a custom mil code button ?Thank you

-
Need help about Moving Averageposted in Questions & Answers
Hello ,
First sorry for my English..
I need a little help for my E.Ait's simply based on 2 moving average
I want to draw a Arrow when a candle cross 2 moving average (20 simple , 6 expo)
down arrow for a bearish candle
up arrow for a up bullish candleI want the moving average cross only on the body of the candle , not with the wick
i got somes problems

:
The good example is on the blue circlein the first green circle, what I want to filter, I want to exclude this configuration when the wick break the moving average without the candle body's
and the second problem is on the second green circle , the candle break the moving average but the arrow is not here..
https://fxdreema.com/shared/5Em1uvl3e
thanks in advance for your help