Concetto di corrispondenza del modello EA - Pagina 4

 

Publi

Concetto di corrispondenza del modello EA

 

Publi

Pagina 4 di 7 PrimaPrima ... 23456 ... UltimaUltima
Risultati da 31 a 40 di 61

Discussione: Concetto di corrispondenza del modello EA

  1. #31
    I wonder, what was the result of the implementation of this method ? The idea sounds very interesting..

  2. #32

    Citazione Originariamente Scritto da ;
    Hey there Ronald... This reminds me of something I did a number of years ago for equities. My set-up was essentially a generalization of the same idea you are working with. The way I generalized the approach was that rather than trying to egorize candles into traditional patterns (long, doji, short, etc.) and then match sequences, I just generated sequences of percentage-based differentials for each of OHLC on each bar, as compared to the previous bar. By expressing all of these values from bar to bar in terms of similarity to the previous...
    That's an interesting approach Theo, I did something similar with a coordinate-based system. Each individual bar is given 3 coordinates. Those coordinates can be plotted in a 3-D region. The next step is finding a way to group those bars so bars within a specific coordinate region are identified as the same bar. It's this last step where I'm having trouble. Theoretically, I could expand this coordinate system to as many dimensions as I could possibly want. But, before I can do that, I need to figure out how to combine various groups together. If you know anyone who is good with clustering algorithms, I would love to speak with them.

  3. #33
    Ray and others, you definitely don't want to limit yourself to just classifying individual bars. As Theo and others have alluded to, you also need some classifiion of the current bar in relation to the previous bar and possibly to the bar before that one too. If you plan on feeding this derived data into a backprop NN, you also want to normalise your derived data into deltas across the bars, much like Theo suggested. Good luck!

  4. #34
    The purpose of uniquely identifying and grouping bars is so I can generate a pattern string. I introduced an EA at the beginning of this thread which had three types of bars. (Long, Short, and Doji) those classifiions form a string. I'm trying to expand the number of characters that I can use.

  5. #35
    Am not sure I understand what you are trying to achieve, but I think the implementation should be very simple. Each pattern will have four different variables (Open,close,high,low). Say you have three consequent candles, you would need 4 different strings: Open 12.1-01.5 30.9-20.4 High 02.1-01.5 30.9-20.4 Low 52.1-01.5 30.9-20.4 Close 22.1-01.5 30.9-20.4 The numbers can be anything. The first number on the left ( 12.1) is the percentage change of the first candle in comparison with the previous one. The second number is for the OPEN change of the second candle in the pattern in comparison with the previous candle. And so on.. You might want to add a tolerance value when searching for patterns. So, if a pattern is almost similar to the pattern you are looking for (the difference in the percentage is less than a previously defined threshold), you would still count it as a HIT. This would require a large processing power to be implemented of course, but it is doable.

  6. #36
    I have skimmed through the past four pages to try to understand what you are trying to achieve. If my understanding is correct, it seems like you are trying to find a representation for each candle on its own. Well, this is not that much usefull in my opinion. You should care more about the relationships between candles through the percentages method I described above. If you want to implement a 1 candle pattern, then you would also use percentages by computing the difference between open,close,high and low and dividing them with the maximum between high and low or something like that. It's that simple.

  7. #37

    Citazione Originariamente Scritto da ;
    I have skimmed through the past four pages to try to understand what you are trying to achieve. If my understanding is correct, it seems like you are trying to find a representation for each candle on its own. Well, this is not that much usefull in my opinion. You should care more about the relationships between candles through the percentages method I described above. If you want to implement a 1 candle pattern, then you would also use percentages by computing the difference between open,close,high and low and dividing them with the maximum between...
    You're half there. I'm trying to generate representations of individual candles. Each candle type is represented by a character. When multiple characters are put together forming a 'word', I have a pattern which I can look for back through the chart history. The old model has 3 characters. (L, S, and D). This new model uses 255 characters. (A, B, C, D, E, F....). Hopefully this enlarged 'alphabet' will result in more words (candle variations) leading to a larger vocabulary (more unique patterns).

  8. #38

    Citazione Originariamente Scritto da ;
    You're half there. I'm trying to generate representations of individual candles. Each candle type is represented by a character. When multiple characters are put together forming a 'word', I have a pattern which I can look for back through the chart history. The old model has 3 characters. (L, S, and D). This new model uses 255 characters. (A, B, C, D, E, F....). Hopefully this enlarged 'alphabet' will result in more words (candle variations) leading to a larger vocabulary (more unique patterns).
    And what can we conclude for our trading? For example, your algo found out that after the wordthe five candles R-O-N-A-L there is a likely chance for a candle 'D' - how would that influence your trading decision? Another problem might be that you use such a huge alphabet. Regarding my example above, when we assume all candles are nearly equally distributed - then the chance for the candle D might be around 0.4%... cause we stated, that our algo proved D more likely in that case the chance might increase to maybe 1%... Nevertheless not much...

  9. #39

    Citazione Originariamente Scritto da ;
    Sei a metà. Sto cercando di generare rappresentazioni di singole candele. Ogni tipo di candela è rappresentato da un carattere. Quando più caratteri vengono messi insieme formando una ???parola???, ho uno schema che posso cercare nella cronologia del grafico. Il vecchio modello ha 3 caratteri. (L, S e D). Questo nuovo modello utilizza 255 caratteri. (A B C D E F....). Si spera che questo ???alfabeto??? allargato si traduca in più parole (variazioni di candele) che portino a un vocabolario più ampio (modelli più unici).
    Continuo a non capire perché ti interessi nominare/rappresentare ogni candela con un personaggio!! ?? molto più semplice (e più generico) utilizzare semplicemente i numeri. Ad esempio, ogni candela sarebbe rappresentata dalle seguenti caratteristiche: Innanzitutto, calcola la differenza tra High e Low (High - Low) in pips (chiamala Diff). Quindi per ogni candela vengono estratte le seguenti caratteristiche: # (Open - High )Diff # (Close - Low)Diff # (Open - Close)/Diff Per ogni candela sono necessari solo i numeri risultanti dalle tre caratteristiche precedenti. Ancora una volta, dovresti prendere in considerazione la rilevanza di ogni candela con la sua candela successiva o precedente. Ad esempio, un gap in una tendenza al ribasso seguito da un martello è un segnale rialzista e uno schema.

  10. #40

    Citazione Originariamente Scritto da ;
    The, can you tell us the result of your implementation ?
    In back testing it seemed somewhat successful, but I got busy with other projects and never got it fully off the ground and trading live. Personally I think that if implemented properly it would be very successful.

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •  
Il sito di forexmad utilizza cookie
Il sito di forexmad utilizza cookie, alcuni dei quali già installati. Per avere maggiori informazioni sui nostri cookie ti preghiamo di cliccare qui. Ti preghiamo di cliccare sul bottone a destra per accettare i nostri cookie. Se continui a navigare sul sito di forexmad assumeremo che sei d'accordo ad utilizzarli.