Jump to content


[01 martie 2015] Vamist este prima si cea mai mare comunitate Forex din Romania. A luat nastere in 2005 si de-a lungul timpului a trecut prin mai multe transformari. Acum, dupa 10 ani, primim orice fel de traderi si investitori. Deci, indiferent daca tranzactionezi sau investesti in actiuni, valute, marfuri sau orice alt instrument, bine ai venit!

Vamist se transforma in comunitatea traderilor retail. Aceasta versiune a forumului va fi in continuare accesibila pentru oricine, dar numai in format read only.

Noua adresa este vamist.ro. Te asteptam acolo la discutii generale despre trading.

Photo
- - - - -

Cod de activare/anulare a pendingului


  • Please log in to reply
15 replies to this topic

#1 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 20 August 2013 - 10:19 AM

Va rog frumos, am nevoie de putin ajutor. Am nevoie de aceasta secventa de cod in crearea unui EA si cel cu care discut nu intelege ce vreau de fapt. 

 

Vreau un cod care sa respecte urmatoarea regula : urmareste bara in desfasurare. Dupa ce bara actuala inchide, plaseaza pending astfel :

 

1) Daca bara inchide rosu, plaseaza pending buy cu 1% risc din balanta actuala cu intrare la 2 pip deasupra maximei barei. SL va fi ajustat raportand riscul la balanta actual

2) Daca bara inchide verde, plaseaza pending sell cu 1% risc din balanta actuala cu intrare la 2 pip sub minima barei.SL va fi ajustat raportand riscul la balanta actual

 

3) Daca urmatoarea bara nu activeaza pendingul si apuca sa inchida, ordinul este anulat.

 

 

 

Ultra multumesc :).


Edited by Apollo, 20 August 2013 - 10:25 AM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.




#2 iulik

iulik

    Forexist activ

  • Members
  • PipPipPipPipPip
  • 343 posts

  • Tranzactionez din 2010
  • Broker curent armada
  • Strategie/tehnica folosita ufo

Posted 20 August 2013 - 11:00 AM

eu nu prea iau in seama strategii la nivel de bara, pentru ca in bara aia nu stii ce se intampla. daca ai un sir de la 1 la 10 deschide bara la 1, urmeaza ticsi 9,10,10,10,10, 10 si apoi close la 1 si iar 10. daca muti bara fix o secunda, valoare in dreapta deschide la 9 si inchide la 10 si pe grafic arata cu totul altfel.

orice calcul facut pe bara aia cu open 1 close 1 maxim 10 minim 1 mi se pare total eronat. la fel o sa ai alte bari la brokeri diferiti in functie de cum deschid ei taraba. 

sper sa intelegi punctul meu de vedere si sustine teoria mt4 gambling. 



#3 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 20 August 2013 - 11:05 AM

 E o parte de cod a unui cod mai complex. Nu are a face cu strategiile la nivel de bara.

 

Referitor la gambling, priveste ce mu..cles a dat GBP si AUD dupa ce initial promiteau sa o dea la vale. In cateva clipe s-a schimbat realitatea. Doar un MM te salva aici. 


Edited by Apollo, 20 August 2013 - 11:09 AM.

"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#4 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 21 August 2013 - 08:03 AM

Macar daca nu are chef nimeni sa faca, spuneti daca e posibil de codat. E mai bine decat nimic.


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#5 iulik

iulik

    Forexist activ

  • Members
  • PipPipPipPipPip
  • 343 posts

  • Tranzactionez din 2010
  • Broker curent armada
  • Strategie/tehnica folosita ufo

Posted 21 August 2013 - 08:16 AM

o bara are OpenHighLowClose. sa citeasca ultima bara:

cand Close>Open ai bara verde 

cand Close<Open ai bara rosie.

 

pentru 1% din equity eu folosesc asta:

extern double MaximumRisk = 0.01

lot=NormalizeDouble(AccountFreeMargin()*MaximumRisk/1000.0,2);

 

cum se pune un pending order banuiesc ca te descurci...


Edited by iulik2k1, 21 August 2013 - 08:17 AM.


#6 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 21 August 2013 - 08:33 AM

Vreau doar sa stiu daca e posibil ca EA-ul sa urmareasca bara care e in curs de desfasurare , iar cand bara asta inchide, in primele secunde de inceput ale barei urmatoare sa puna un pending order. E posibil asa ceva?


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#7 iulik

iulik

    Forexist activ

  • Members
  • PipPipPipPipPip
  • 343 posts

  • Tranzactionez din 2010
  • Broker curent armada
  • Strategie/tehnica folosita ufo

Posted 21 August 2013 - 08:40 AM

da e posibil, depinde de distanta la care pui pendingul, minim 5 pipsi. 



#8 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 21 August 2013 - 10:25 AM

Dar mai putin nu merge? 2 pip deasupra 


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.


#9 nirolf_trader

nirolf_trader

    Forexist activ

  • Members
  • PipPipPipPipPip
  • 112 posts
  • Gender:Male

  • Tranzactionez din 2010
  • Broker curent Admiral
  • Strategie/tehnica folosita Linii de Trend

Posted 21 August 2013 - 06:45 PM

Dar mai putin nu merge? 2 pip deasupra 

1)Din cate stiu eu nu...dar e posibil sa gasesti un broker unde sa se poata.

 

2)Daca folosesti ea...trebuie musai sa pui pending?Nu e ok ca ea-ul sa deschida pur si simplu pozitia la pretul dorit(pretul la care tu doresti sa pui pendingul)?



#10 Apollo

Apollo

    Big Shark

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 1382 posts
  • Gender:Male
  • Location:In munti...
  • Broker curent LMAX

Posted 21 August 2013 - 08:41 PM

A, stati ca acum am inteles la ce va referiti. Da , aveti dreptate. Ar fi in regula si asa, cand pretul merge 2 pips deasupra, EA-ul sa deschida ordin. 


"Imposibilul e un cuvant care se gaseste numai in dictionarul nãtângilor."

"Remember that if you practice strict money management rules, you will become the casino and in the long run, "you will always win."

 

"If you have ever watched one  of the nature programs  on television  about how many species of fish hunt, you may  have seen  the larger fish that create "bait balls"  by coralling  smaller fish into a tight group."

 

Money moves the market, not an indicator.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Tranzactiile forex implica un grad ridicat de risc. Informatiile de pe acest site NU reprezinta recomadari de tranzactionare sau investitii.
Administratorii vamist.ro nu-si asuma responsabilitatea pentru eventualele probleme sau pierderi materiale aparute in urma utilizarii informatiilor de pe site.